magnetico/docker-compose.yml
Bora M. Alper 4814945b2d
fix docker
2020-02-21 11:39:35 +00:00

26 lines
624 B
YAML

version: "2"
services:
magneticod:
image: boramalper/magneticod
volumes:
- ${MAGNETICOD_DATA}:/root/.local/share/magneticod
- ${MAGNETICOD_CONFIG}:/root/.config/magneticod
network_mode: "host"
magneticow:
image: boramalper/magneticow
volumes:
- ${MAGNETICOD_DATA}:/root/.local/share/magneticod
- ${MAGNETICOW_CONFIG}:/root/.config/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: