old.nicco.io/docker-compose.prod.yml
2019-03-24 02:32:01 +01:00

23 lines
454 B
YAML

version: '3'
services:
home:
image: nginx:alpine
restart: always
ports:
- 80
volumes:
- ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- traefik
labels:
- traefik.enable=true
- traefik.port=80
- traefik.docker.network=traefik
- traefik.backend=home
- traefik.frontend.rule=Host:nicco.io
networks:
traefik:
external: true