feat: list all env vars and load in docker-compose

This commit is contained in:
Aravinth Manivannan
2024-01-07 23:22:27 +05:30
parent 5722a5327c
commit 2ee0a0ae5f
2 changed files with 45 additions and 5 deletions

View File

@@ -9,11 +9,8 @@ services:
image: mcaptcha/mcaptcha:latest
ports:
- 7000:7000
environment:
DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder
MCAPTCHA_redis_URL: "redis://mcaptcha_redis/"
RUST_LOG: "debug"
PORT: 7000
env_file:
- .env.docker-compose
depends_on:
- mcaptcha_postgres
- mcaptcha_redis