old.nicco.io/docker-compose.prod.yml
2020-01-05 17:34:03 +01:00

22 lines
439 B
YAML

version: '3.7'
services:
front:
build: .
restart: always
volumes:
- ./.next:/app/.next:ro
- ./public:/app/public:ro
- ./next.config.js:/app/next.config.js:ro
networks:
- traefik
labels:
- traefik.enable=true
- traefik.port=3000
- traefik.docker.network=traefik
- traefik.backend=home
- traefik.frontend.rule=Host:nicco.io
networks:
traefik:
external: true