python
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user