magnetico/docker-compose.yml

30 lines
680 B
YAML
Raw Normal View History

2019-09-18 02:21:30 +02:00
version: "2"
services:
magneticod:
build:
2019-09-18 03:27:04 +02:00
image: boramalper/magneticod
# 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-09-18 03:27:04 +02:00
image: boramalper/magneticow
# 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: