Files
linux-odyssey/docker-compose.yml
T

31 lines
565 B
YAML

version: '3'
services:
db:
image: mongo
restart: always
networks:
- internal
ports:
- '27017:27017'
volumes:
- ./data:/data/db
base:
image: linuxodyssey/quest-base
# networks:
# - players
build:
context: .
dockerfile: ./quests/Dockerfile
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- ./config/ssh_key.pub:/ssh_key.pub:ro
- ./quests/entrypoint.sh:/entrypoint.sh:ro
networks:
internal:
players:
name: linux-odyssey-players
internal: false