magnetico/docker-compose.yml

26 lines
473 B
YAML
Raw Normal View History

2019-05-19 02:27:10 +02:00
version: "3"
volumes:
2019-05-19 02:27:10 +02:00
home:
services:
magneticod:
build:
2019-05-19 02:27:10 +02:00
context: .
dockerfile: Dockerfile.magneticod
volumes:
2019-05-19 02:27:10 +02:00
- home:/home/magnetico
magneticow:
build:
2019-05-19 02:27:10 +02:00
context: .
dockerfile: Dockerfile.magneticow
volumes:
2019-05-19 02:27:10 +02:00
- 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:
2019-05-19 02:27:10 +02:00
- "8080:8080"