Skip to content

Commit e07e751

Browse files
committed
Removed redundant Docker services mapping to a shared network
1 parent f0841a0 commit e07e751

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docker-compose.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: simple-file-storage
22

3-
networks:
4-
simple_file_storage:
5-
driver: bridge
6-
73
services:
84
# https://hub.docker.com/_/mariadb
95
mariadb:
@@ -17,8 +13,6 @@ services:
1713
MARIADB_USER: ${DATABASE_USERNAME}
1814
MARIADB_PASSWORD: ${DATABASE_PASSWORD}
1915
MARIADB_RANDOM_ROOT_PASSWORD: 1
20-
networks:
21-
- simple_file_storage
2216
healthcheck:
2317
test: healthcheck.sh --su-mysql --connect --innodb_initialized
2418
retries: 3
@@ -37,8 +31,6 @@ services:
3731
PMA_PORT: ${DATABASE_PORT}
3832
PMA_USER: ${DATABASE_USERNAME}
3933
PMA_PASSWORD: ${DATABASE_PASSWORD}
40-
networks:
41-
- simple_file_storage
4234
healthcheck:
4335
test: curl -f http://localhost
4436
retries: 3
@@ -62,8 +54,6 @@ services:
6254
- mariadb
6355
environment:
6456
- WAIT_HOSTS=mariadb:${DATABASE_PORT}
65-
networks:
66-
- simple_file_storage
6757
healthcheck:
6858
test: curl -f http://localhost:3000
6959
retries: 3

0 commit comments

Comments
 (0)