🐛 Fixed docker-compose file for running instances

This commit is contained in:
Mawoka
2022-10-17 15:20:13 +02:00
parent e8f244a328
commit c67b26a164
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ services:
test: [ "CMD", "redis-cli","ping" ] test: [ "CMD", "redis-cli","ping" ]
db: db:
image: postgres:alpine image: postgres:14-alpine
restart: always restart: always
healthcheck: healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ] test: [ "CMD-SHELL", "pg_isready -U postgres" ]
@@ -179,6 +179,7 @@ services:
MAIL_USERNAME: "classquiz@mawoka.eu" # Email-Username (change it) MAIL_USERNAME: "classquiz@mawoka.eu" # Email-Username (change it)
MAIL_SERVER: "smtp.gmail.com" # SMTP-Server (change it) MAIL_SERVER: "smtp.gmail.com" # SMTP-Server (change it)
MAIL_PORT: "587" # SMTP-Port MAIL_PORT: "587" # SMTP-Port
SKIP_EMAIL_VERIFICATION: True # Set this to skip sending emails
MAX_WORKERS: "1" # Very important and don't change it! MAX_WORKERS: "1" # Very important and don't change it!
REDIS: "redis://redis:6379/0?decode_responses=True" # don't change REDIS: "redis://redis:6379/0?decode_responses=True" # don't change
SECRET_KEY: "TOP_SECRET" # openssl rand -hex 32 SECRET_KEY: "TOP_SECRET" # openssl rand -hex 32
@@ -210,7 +211,7 @@ services:
test: [ "CMD", "redis-cli","ping" ] test: [ "CMD", "redis-cli","ping" ]
db: db:
image: postgres:alpine image: postgres:14-alpine
restart: always restart: always
healthcheck: healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ] test: [ "CMD-SHELL", "pg_isready -U postgres" ]