version: "2" services: caddy: image: mcg-caddy restart: always networks: - web volumes: - /opt/mcgserver/Caddyfile:/etc/Caddyfile - /opt/mcgserver/static:/static labels: - traefik.enable=true - traefik.docker.network=web - traefik.frontend.rule=Host:mlpccg.zyg.ovh - traefik.port=2015 rdb: image: rethinkdb:latest restart: always volumes: - /opt/mcgserver/rdb-data:/data ports: - "127.0.0.1:9000:8080" networks: - rdb redis: image: redis:alpine restart: always networks: - redis networks: rdb: external: false redis: external: false web: external: name: web