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