Files
healthy_oil/docker-compose.yml
2025-11-03 09:58:42 +08:00

32 lines
983 B
YAML

services:
oil:
build:
context: .
dockerfile: Dockerfile
container_name: healthy-oil
ports:
- "3015:80"
networks:
- traefik-public
- default
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.http.services.healthy-oil-frontend.loadbalancer.server.port=80
- traefik.http.routers.healthy-oil-frontend-http.rule=Host(`healthy-oil.develop-cat.com`)
- traefik.http.routers.healthy-oil-frontend-http.entrypoints=http
- traefik.http.routers.healthy-oil-frontend-http.service=healthy-oil-frontend
- traefik.http.routers.healthy-oil-frontend-https.rule=Host(`healthy-oil.develop-cat.com`)
- traefik.http.routers.healthy-oil-frontend-https.entrypoints=https
- traefik.http.routers.healthy-oil-frontend-https.tls=true
- traefik.http.routers.healthy-oil-frontend-https.service=healthy-oil-frontend
networks:
traefik-public:
external: true