Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 0f41e14

Browse files
committed
Replace deprecated links with docker-compose net
1 parent 1071aee commit 0f41e14

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

docker-compose.staging.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
version: '3'
22

33
services:
4-
mongo:
5-
networks:
6-
hc-network:
7-
ipv4_address: 172.25.0.10
84
api:
9-
environment:
10-
- NODE_ENV=development
115
networks:
126
hc-network:
137
ipv4_address: 172.25.0.11
14-
maildev:
15-
networks:
16-
hc-network:
17-
ipv4_address: 172.25.0.12
188
thumbor:
199
networks:
2010
hc-network:
2111
ipv4_address: 172.25.0.13
12+
2213
networks:
2314
hc-network:
2415
driver: bridge

docker-compose.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@ version: '3'
33
services:
44
api:
55
build: .
6-
links:
6+
depends_on:
77
- mongo
88
- maildev
9-
command: yarn run dev
9+
- thumbor
10+
networks:
11+
- hc-network
1012
volumes:
1113
- .:/API
1214
mongo:
1315
image: mongo
16+
networks:
17+
- hc-network
1418
command: "--smallfiles --logpath=/dev/null"
1519
maildev:
1620
image: djfarrelly/maildev
21+
networks:
22+
- hc-network
1723
ports:
1824
- "1080:80"
1925
- "1025:25"
2026
thumbor:
2127
image: apsl/thumbor
28+
networks:
29+
- hc-network
30+
ports:
31+
- "8000:8000"
32+
33+
networks:
34+
hc-network:

0 commit comments

Comments
 (0)