add env files
This commit is contained in:
@@ -20,9 +20,9 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
DATABASE_URL: postgres://postgres:password@postgres:5432/counter_db?sslmode=disable
|
||||
JWT_SECRET: your-super-secret-jwt-key-change-in-production
|
||||
GIN_MODE: release
|
||||
- ENVIRONMENT=development
|
||||
env_file:
|
||||
- .env.development
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user