server-origin/nginx.yml

13 lines
288 B
YAML
Raw Normal View History

2024-06-23 10:22:15 +05:00
services:
nginx:
container_name: nginx
image: nginx:1.27.0-alpine3.19
restart: always
networks:
- proxynet
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)"
volumes:
- ./www/main:/usr/share/nginx/html