diff --git a/3x-ui/docker-compose.yaml b/3x-ui/docker-compose.yaml index 37f0425..775baa3 100644 --- a/3x-ui/docker-compose.yaml +++ b/3x-ui/docker-compose.yaml @@ -16,7 +16,7 @@ services: labels: - "traefik.enable=true" - "traefik.http.services.3x-ui.loadbalancer.server.port=20530" - - "traefik.http.routers.3x-ui.rule=Host(`{3X_UI_HOST}`)" + - "traefik.http.routers.3x-ui.rule=Host(`${X_UI_HOST}`)" - "traefik.http.routers.3x-ui.entrypoints=websecure" - "traefik.http.routers.3x-ui.tls.certresolver=le" diff --git a/3x-ui/env.example b/3x-ui/env.example index 47e3bb1..7af70b7 100644 --- a/3x-ui/env.example +++ b/3x-ui/env.example @@ -1,3 +1,3 @@ -3X_UI_HOST= +X_UI_HOST= XRAY_VMESS_AEAD_FORCED=false XUI_ENABLE_FAIL2BAN=true diff --git a/miniflux/docker-compose.yaml b/miniflux/docker-compose.yaml index ac9f435..83260fd 100644 --- a/miniflux/docker-compose.yaml +++ b/miniflux/docker-compose.yaml @@ -21,7 +21,10 @@ services: image: postgres:18 container_name: miniflux-db restart: unless-stopped - env_file: .env + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} networks: - miniflux volumes: diff --git a/outline/docker-compose.yaml b/outline/docker-compose.yaml index d7888a0..827b65d 100644 --- a/outline/docker-compose.yaml +++ b/outline/docker-compose.yaml @@ -25,13 +25,16 @@ services: image: postgres:18 container_name: outline-db restart: unless-stopped - env_file: .env + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} networks: - outline volumes: - ./data/outline-db:/var/lib/postgresql healthcheck: - test: ["CMD", "pg_isready -U outline -d outline"] + test: ["CMD", "pg_isready", "-U", "outline", "-d", "outline"] interval: 10s timeout: 5s retries: 5