magnetico/docker-compose.yml
Chris Rose dd40222fd6 Dockerize magnetico as a pair of conjoined containers
docker-compose links them, they share a DB on a volume container, and
expose the web interface on the host port 12345
2017-04-10 09:13:14 -07:00

21 lines
283 B
YAML

version: "2"
volumes:
shared_db:
services:
magneticod:
build:
context: magneticod
volumes:
- shared_db:/root/.local/share
magneticow:
build:
context: magneticow
volumes:
- shared_db:/root/.local/share
ports:
- "12345:8080"