old.nicco.io/docker-compose.prod.yml

22 lines
399 B
YAML
Raw Normal View History

2019-03-03 16:27:15 +01:00
version: '3'
services:
home:
2019-03-24 01:24:27 +01:00
image: nginx:alpine
restart: always
ports:
- 80
volumes:
- ./public:/usr/share/nginx/html:ro
2019-03-03 16:27:15 +01:00
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