File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 11services :
2- data :
3- image : silintl/data-volume:latest
4- volumes :
5- - ./application:/data
6-
72 # See https://hub.docker.com/_/postgres/ for details of the postgres image.
83 # POSTGRES_PASSWORD - superuser password for PostgreSQL
94 # POSTGRES_USER - superuser (default is 'postgres')
105 # POSTGRES_DB - name of default database (default is value of POSTGRES_USER)
116 db :
127 image : postgres:14.11-alpine3.19
13- volumes_from :
14- - data
8+ volumes :
9+ - ./application:/ data
1510 ports :
1611 - " 5432"
1712 environment :
@@ -25,8 +20,8 @@ services:
2520 # DB_NAME - name of database to back up/restore
2621 restore :
2722 build : ./
28- volumes_from :
29- - data
23+ volumes :
24+ - ./application:/ data
3025 env_file :
3126 - ./local.env
3227 environment :
@@ -41,8 +36,8 @@ services:
4136
4237 backup :
4338 build : ./
44- volumes_from :
45- - data
39+ volumes :
40+ - ./application:/ data
4641 env_file :
4742 - ./local.env
4843 environment :
You can’t perform that action at this time.
0 commit comments