Modification Airflow
This commit is contained in:
@ -116,10 +116,10 @@ services:
|
||||
airflow-webserver:
|
||||
<<: *airflow-common
|
||||
command: webserver
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "http://airflow.fr.dgs.group/health"]
|
||||
test: ["CMD", "curl", "--fail", "http://localhost:8080/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
@ -132,20 +132,6 @@ services:
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
- back_network
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=docker-traefik_front_network"
|
||||
# HTTP
|
||||
- "traefik.http.routers.airflow-http.rule=Host(`airflow.fr.dgs.group`)"
|
||||
- "traefik.http.routers.airflow-http.entrypoints=http"
|
||||
# HTTPS
|
||||
- "traefik.http.routers.airflow-https.rule=Host(`airflow.fr.dgs.group`)"
|
||||
- "traefik.http.routers.airflow-https.entrypoints=https"
|
||||
- "traefik.http.routers.airflow-https.service=airflow-service"
|
||||
- "traefik.http.routers.airflow-https.tls=true"
|
||||
# Middleware
|
||||
# Service
|
||||
- "traefik.http.services.airflow-service.loadbalancer.server.port=8080"
|
||||
|
||||
### airflow-scheduler
|
||||
airflow-scheduler:
|
||||
|
Reference in New Issue
Block a user