Skip to content

Commit dcf908c

Browse files
authored
Merge pull request #30 from silinternational/develop
Feature data image
2 parents d6ffc83 + b992702 commit dcf908c

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

docker-compose.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
services:
2-
data:
3-
image: silintl/data-volume:latest
4-
volumes:
5-
- ./application:/data
6-
72
db:
83
image: mariadb:10
9-
volumes_from:
10-
- data
4+
volumes:
5+
- ./application:/data
116
ports:
127
- "3306"
138
environment:
@@ -26,8 +21,8 @@ services:
2621

2722
restore:
2823
build: ./
29-
volumes_from:
30-
- data
24+
volumes:
25+
- ./application:/data
3126
# volumes:
3227
# - ./test/world.sql.gz:/tmp/world.sql.gz
3328
# - ./test/employees.sql.gz:/tmp/employees.sql.gz
@@ -43,8 +38,8 @@ services:
4338

4439
backup:
4540
build: ./
46-
volumes_from:
47-
- data
41+
volumes:
42+
- ./application:/data
4843
env_file:
4944
- ./local.env
5045
environment:

0 commit comments

Comments
 (0)