Skip to content

Commit 0093717

Browse files
committed
Removed the data-image
1 parent fc21306 commit 0093717

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

Diff for: docker-compose.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
services:
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:

0 commit comments

Comments
 (0)