Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • main
  • putJSON_error_handling
  • collaboration
  • clearcoatSpecular
  • derivatives
  • decoupled_asset_tree
  • mode_switch
  • alpha_merge_zonemap
  • back_btn
  • peer_dependencies_error
  • faster_build
  • new_annotations_locale
13 results

docker-compose.yml

Blame
  • user avatar
    Jamie Cope authored
    787d49ba
    History
    docker-compose.yml 712 B
    # creates a Docker image and launches a container
    # with a simple development server built with Node.js and Express.
    #
    # The server provides unsecured read access to dist/ and
    # read/write access through WebDAV to files/
    
    version: '3'
    
    services:
      server:
        image: voyager/server
        container_name: voyager-server
        build:
          context: ./services/server/setup
          dockerfile: Dockerfile
        env_file:
          - .env
        networks:
          app_net:
            ipv4_address: $VOYAGER_SERVER_IPV4_ADDR
        ports: #host:container
          - $VOYAGER_SERVER_PORT:$VOYAGER_SERVER_PORT
        volumes:
          - .:/app
    networks:
      app_net:
        ipam:
          driver: default
          config:
            - subnet: $VOYAGER_SERVER_SUBNET