forked from p15670423/monkey
23 lines
361 B
YAML
23 lines
361 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
db:
|
|
image: mongo:4
|
|
restart: always
|
|
volumes:
|
|
- db_data:/data/db
|
|
environment:
|
|
MONGO_INITDB_DATABASE: monkeyisland
|
|
monkey:
|
|
depends_on:
|
|
- db
|
|
build: .
|
|
image: monkey:latest
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
MONGO_URL: mongodb://db:27017/monkeyisland
|
|
|
|
volumes:
|
|
db_data:
|