mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2024-11-01 00:24:16 +01:00
23 lines
454 B
YAML
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 |