32 lines
725 B
YAML
32 lines
725 B
YAML
name: bao-landing
|
|
|
|
services:
|
|
web:
|
|
image: nginx:alpine
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 64M
|
|
reservations:
|
|
memory: 16M
|
|
volumes:
|
|
- ./html:/usr/share/nginx/html:ro
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.bao-landing.rule=Host(`noveria.net`)"
|
|
- "traefik.http.routers.bao-landing.tls=true"
|
|
- "traefik.http.routers.bao-landing.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.bao-landing.loadbalancer.server.port=80"
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|