18 lines
424 B
YAML
18 lines
424 B
YAML
services:
|
|
website:
|
|
image: nginx:1.23.2-alpine
|
|
container_name: website
|
|
restart: unless-stopped
|
|
networks:
|
|
- traefik_proxy
|
|
volumes:
|
|
- /var/docker/www/website:/usr/share/nginx/html:ro
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.website.entrypoints: "https"
|
|
traefik.http.routers.website.rule: "Host(`fanyx.xyz`)"
|
|
|
|
networks:
|
|
traefik_proxy:
|
|
name: traefik_proxy
|