mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2024-11-01 00:24:16 +01:00
23 lines
455 B
YAML
23 lines
455 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
home:
|
|
image: cupcakearmy/static
|
|
restart: always
|
|
ports:
|
|
- 80
|
|
volumes:
|
|
- ./nginx.conf:/usr/local/nginx/conf/sites/default.conf:ro
|
|
- ./public:/srv: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 |