File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
2- postgres :
3- image : postgis/postgis:17-3.5
4- container_name : data-postgres
5- restart : always
6- env_file :
7- - .env
8- environment :
9- - POSTGRES_USER=${DB_USER}
10- - POSTGRES_PASSWORD=${DB_PASSWORD}
11- - POSTGRES_DB=${DB_NAME}
12- ports :
13- - " 5432:5432"
14- volumes :
15- - ./postgres-data:/var/lib/postgresql/data
16- networks :
17- - data-network
18-
192 redis :
203 image : redis:7-alpine
214 container_name : data-redis
@@ -63,7 +46,6 @@ networks:
6346 driver : bridge
6447
6548volumes :
66- postgres-data :
6749 redis-data :
6850 prometheus-data :
6951 grafana-data :
Original file line number Diff line number Diff line change 1+ services :
2+ postgres :
3+ image : postgis/postgis:17-3.5
4+ container_name : dedicated-postgres
5+ restart : always
6+ env_file :
7+ - .env
8+ environment :
9+ - POSTGRES_USER=${DB_USER}
10+ - POSTGRES_PASSWORD=${DB_PASSWORD}
11+ - POSTGRES_DB=${DB_NAME}
12+ ports :
13+ - " 5432:5432"
14+ volumes :
15+ - ./postgres-data:/var/lib/postgresql/data
16+ networks :
17+ - db-network
18+
19+ networks :
20+ db-network :
21+ driver : bridge
22+
23+ volumes :
24+ postgres-data :
You can’t perform that action at this time.
0 commit comments