magnetico/docker-compose.yml
2019-05-19 01:27:10 +01:00

26 lines
473 B
YAML

version: "3"
volumes:
home:
services:
magneticod:
build:
context: .
dockerfile: Dockerfile.magneticod
volumes:
- home:/home/magnetico
magneticow:
build:
context: .
dockerfile: Dockerfile.magneticow
volumes:
- home:/home/magnetico
depends_on:
# It doesn't necessarily "depend" on magneticod, but you would probably like to start them at the same time.
- magneticod
ports:
- "8080:8080"