This commit is contained in:
Andrey Kondratev
2025-09-09 15:39:28 +05:00
parent 3b2d5ece24
commit d4debf9b63
33 changed files with 1274 additions and 9585 deletions

View File

@@ -56,7 +56,7 @@ services:
timeout: 5s
retries: 5
# Main application
# Main application (Python Backend)
quixotic-app:
build:
context: .
@@ -66,10 +66,9 @@ services:
env_file:
- .env.docker
environment:
NODE_ENV: production
PORT: 3000
PORT: 8000
HOST: 0.0.0.0
DATABASE_URL: postgresql://${POSTGRES_USER:-quixotic}:${POSTGRES_PASSWORD:-quixotic123}@postgres:5432/${POSTGRES_DB:-quixotic}
DATABASE_SSL: false
volumes:
- downloads:/app/downloads
labels:
@@ -88,7 +87,7 @@ services:
- "traefik.http.routers.quixotic-redirect.entrypoints=web"
- "traefik.http.routers.quixotic-redirect.middlewares=redirect-to-https"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.services.quixotic.loadbalancer.server.port=3000"
- "traefik.http.services.quixotic.loadbalancer.server.port=8000"
depends_on:
traefik:
condition: service_started