Skip to content

Commit

Permalink
Align production docker compose with regular compose and remove DEBUG (
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche authored Jan 7, 2025
1 parent 10ece5b commit 93dab82
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,10 @@ services:
environment:
- ALLOWED_HOSTS=backend,localhost
- CISO_ASSISTANT_URL=https://localhost:8443
- DJANGO_DEBUG=True
- AUTH_TOKEN_TTL=7200
volumes:
- ./db:/code/db

# huey:
# container_name: huey
# image: ghcr.io/intuitem/ciso-assistant-community/backend:latest
# restart: always
# environment:
# - ALLOWED_HOSTS=backend,localhost
# - DJANGO_DEBUG=False
# volumes:
# - ./db:/code/db
# entrypoint:
# - /bin/sh
# - -c
# - |
# poetry run python manage.py run_huey

frontend:
container_name: frontend
environment:
Expand All @@ -52,8 +36,6 @@ services:
- ./caddy_data:/data
command: |
sh -c 'echo $$CISO_ASSISTANT_URL "{
reverse_proxy /api/iam/sso/redirect/ backend:8000
reverse_proxy /api/accounts/saml/0/acs/ backend:8000
reverse_proxy /api/accounts/saml/0/acs/finish/ backend:8000
reverse_proxy /api/* backend:8000
reverse_proxy /* frontend:3000
}" > Caddyfile && caddy run'

0 comments on commit 93dab82

Please sign in to comment.