magnetico/docker-compose.yml

28 lines
606 B
YAML
Raw Normal View History

2019-09-18 02:21:30 +02:00
version: "2"
services:
magneticod:
build:
2019-05-19 02:27:10 +02:00
context: .
dockerfile: Dockerfile.magneticod
volumes:
2019-09-18 02:21:30 +02:00
- magneticod-data:/root/.local/share/magneticod
- magneticod-config:/root/.config/magneticod
magneticow:
build:
2019-05-19 02:27:10 +02:00
context: .
dockerfile: Dockerfile.magneticow
volumes:
2019-09-18 02:21:30 +02:00
- magneticod-data:/root/.local/share/magneticod
2019-05-19 02:27:10 +02:00
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"
2019-09-18 02:21:30 +02:00
volumes:
magneticod-config:
magneticod-data: