Skip to content

Commit

Permalink
fix: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom JEANNESSON committed Jan 11, 2024
1 parent 1560cd7 commit db80559
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
ALLOWED_HOSTS = ["django", env("NAPSE_API_DOMAIN")]
print(ALLOWED_HOSTS)
print("ALLOWED_HOSTS", ALLOWED_HOSTS)


@receiver(connection_created)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

eval $(/opt/elasticbeanstalk/bin/get-config environment | jq -r 'to_entries[] | "\(.key)=\(.value)"')
/opt/elasticbeanstalk/bin/get-config environment
/opt/elasticbeanstalk/bin/get-config environment
export NAPSE_API_DOMAIN=napse-env.eba-vm2tsihk.eu-west-3.elasticbeanstalk.com
3 changes: 2 additions & 1 deletion backend/docker/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_S3_BUCKET_URI
- NAPSE_API_DOMAIN
volumes:
- db_volume:/app/db

Expand Down Expand Up @@ -61,7 +62,7 @@ services:
image: "traefik:v2.9.5"
container_name: napse_dtk_prod_traefik
command:
- "--log.level=DEBUG"
- "--log.level=INFO"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
Expand Down

0 comments on commit db80559

Please sign in to comment.