Skip to content

Instantly share code, notes, and snippets.

@Yengas
Created April 21, 2019 08:33
Show Gist options
  • Select an option

  • Save Yengas/a8510a77a227af01c7bcedb3524fcf3c to your computer and use it in GitHub Desktop.

Select an option

Save Yengas/a8510a77a227af01c7bcedb3524fcf3c to your computer and use it in GitHub Desktop.
Lobby Menu deployment
version: '3'
networks:
face-network: {}
volumes:
database-storage: {}
services:
database:
build: ./persistence/database
volumes:
- database-storage:/data/db
ports:
- "27017:27017"
networks:
- "face-network"
faces:
build: ./faces
environment:
- "FACE_DATABASE_CONNECTION_STRING=mongodb://database:27017"
- "FACE_DATABASE_NAME=lobbyface"
- "STORAGE_BASE_URL=http://lobby.face:8080"
ports:
- "8080:8080"
networks:
- "face-network"
seed:
build: ./persistence/seed
environment:
- "MONGO_HOST=database"
- "MONGO_PORT=27017"
- "DATABASE_NAME=lobbyface"
networks:
- "face-network"
print:
build: ./print
privileged: true
networks:
- "face-network"
ports:
- "7373:7373"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment