🚀 Fixed docker-compose.yml

This commit is contained in:
Mawoka
2022-03-03 20:57:45 +01:00
parent 493a5c0bdf
commit d348e1ab2e
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
.env*
+5 -3
View File
@@ -7,14 +7,15 @@ services:
context: ./frontend
dockerfile: Dockerfile
args:
redis: ""
redis: "{$REDIS}"
depends_on:
- redis
- api
environment:
REDIS_URL: redis://redis:6379/0?decode_responses=True
API_URL: http://api:80
env_file:
- .env
api:
build:
context: .
@@ -36,7 +37,8 @@ services:
ACCESS_TOKEN_EXPIRE_MINUTES: 30
SKIP_EMAIL_VERIFICATION: True
HCAPTCHA_KEY: "HCAPTCHA_PRIVATE_KEY"
env_file:
- .env
redis:
image: redis:alpine
restart: always