magnetico/docker-compose.yml
2020-02-21 11:50:05 +00:00

23 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"
command:
- "--indexer-addr=0.0.0.0:1212"
magneticow:
image: boramalper/magneticow
volumes:
- ${MAGNETICOD_DATA}:/root/.local/share/magneticod
- ${MAGNETICOW_CONFIG}:/root/.config/magneticow
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"