16 lines
329 B
YAML
16 lines
329 B
YAML
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
|
|
|
|
networks:
|
|
proxynet:
|
|
external: true |