magnetico/docker-compose.yml
2019-09-18 02:27:04 +01:00

30 lines
680 B
YAML

version: "2"
services:
magneticod:
build:
image: boramalper/magneticod
# context: .
# dockerfile: Dockerfile.magneticod
volumes:
- magneticod-data:/root/.local/share/magneticod
- magneticod-config:/root/.config/magneticod
magneticow:
build:
image: boramalper/magneticow
# context: .
# dockerfile: Dockerfile.magneticow
volumes:
- magneticod-data:/root/.local/share/magneticod
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"
volumes:
magneticod-config:
magneticod-data: