mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
29 lines
475 B
YAML
29 lines
475 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: mongo:6
|
|
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'
|
|
|
|
networks:
|
|
internal:
|
|
players:
|
|
name: linux-odyssey-players
|
|
internal: false
|
|
external: true
|