File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,15 @@ services:
55 build :
66 context : .
77 dockerfile : Dockerfile
8+ container_name : anomaly-app
89 ports :
910 - " 8000:8000"
1011 environment :
1112 PYTHONPATH : /app
1213 REDIS_HOST : redis
1314 REDIS_PORT : 6379
14- PROCESS_ANOMALY_URL : http://fastapi-app:8001/process-anomaly
15- REDIS_OBS_HOST : redis
16- REDIS_OBS_PORT : 6379
17- DATABASE_URL : postgresql://anomaly:anomaly123$$@anomaly-db:5432/anomaly-db
15+ PROCESS_ANOMALY_URL : http://app:8000/process-anomaly
16+ DATABASE_URL : postgresql://anomaly:anomaly123@anomaly-db:5432/anomaly_db
1817 depends_on :
1918 - redis
2019 - anomaly-db
@@ -24,22 +23,20 @@ services:
2423
2524 redis :
2625 image : redis:7-alpine
27- ports :
28- - " 6379:6379"
26+ container_name : anomaly-redis
2927 volumes :
3028 - redis_data:/data
3129 networks :
3230 - anomaly-network
3331
3432 anomaly-db :
3533 image : quay.io/osclimate/postgresql-13:1-101
36- ports :
37- - " 5433:5432"
34+ container_name : anomaly-db
3835 environment :
39- POSTGRESQL_ADMIN_PASSWORD : admin123$$
40- POSTGRESQL_DATABASE : anomaly-db
41- POSTGRESQL_PASSWORD : anomaly123$$
36+ POSTGRESQL_ADMIN_PASSWORD : admin123
37+ POSTGRESQL_DATABASE : anomaly_db
4238 POSTGRESQL_USER : anomaly
39+ POSTGRESQL_PASSWORD : anomaly123
4340 networks :
4441 - anomaly-network
4542
You can’t perform that action at this time.
0 commit comments