feat: add a docker-compose file for production (#4609)

* feat: add a docker-compose file for production

* fix: remove unused user filed

* fix: do not provide default token secrets
This commit is contained in:
Quentin G
2024-03-22 09:16:39 +01:00
committed by GitHub
parent 1aa48d3bf7
commit aee6d49ea9
2 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,16 @@
TAG=latest
POSTGRES_ADMIN_PASSWORD=replace_me_with_a_strong_password
PG_DATABASE_HOST=db:5432
SERVER_URL=http://localhost:3000
# Uncoment if you are serving your front on another server than the API (eg. bucket)
# FRONT_BASE_URL=http://localhost:3000
# Use openssl rand -base64 32 for each secret
# ACCESS_TOKEN_SECRET=replace_me_with_a_random_string_access
# LOGIN_TOKEN_SECRET=replace_me_with_a_random_string_login
# REFRESH_TOKEN_SECRET=replace_me_with_a_random_string_refresh
SIGN_IN_PREFILLED=true