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

Commit afe0ea0

Browse files
authored
Merge pull request #169 from Human-Connection/global-network
Global network
2 parents 9ab1228 + a7a78c9 commit afe0ea0

File tree

5 files changed

+26
-22
lines changed

5 files changed

+26
-22
lines changed

config/default-docker.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"baseURL": "http://api.127.0.0.1.xip.io:3030",
23
"mongodb": "mongodb://mongo:27017/hc_api",
34
"host": "0.0.0.0"
45
}

config/local-staging-docker.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
2-
"baseURL": "http://172.25.0.11:3030",
32
"seeder": {
43
"runOnInit": true,
5-
"dropDatabase": true
4+
"dropDatabase": false
65
},
76
"smtpConfig": {
87
"host": "maildev",
98
"port": 25,
109
"ignoreTLS": true
1110
},
1211
"thumbor": {
13-
"url": "http://localhost:8000",
12+
"url": "http://thumbor.127.0.0.1.xip.io:8000",
1413
"key": ""
1514
}
1615
}

docker-compose.override.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
version: '3.5'
22

33
services:
44
api:

docker-compose.staging.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
version: '3'
1+
version: '3.5'
22

33
services:
44
api:
5-
image: humanconnection/api-feathers
5+
image: humanconnection/api-feathers:edge
66
build:
77
context: .
88
environment:
@@ -13,31 +13,20 @@ services:
1313
ports:
1414
- "3030:3030"
1515
networks:
16-
hc-network:
17-
ipv4_address: 172.25.0.11
18-
thumbor:
19-
networks:
20-
hc-network:
21-
ipv4_address: 172.25.0.13
16+
- hc-network
17+
2218
maildev:
2319
image: djfarrelly/maildev
2420
networks:
2521
- hc-network
2622
ports:
2723
- "1080:80"
2824
- "1025:25"
25+
2926
thumbor:
27+
container_name: thumbor.127.0.0.1.xip.io
3028
image: apsl/thumbor
3129
networks:
3230
- hc-network
3331
ports:
3432
- "8000:8000"
35-
36-
networks:
37-
hc-network:
38-
driver: bridge
39-
ipam:
40-
driver: default
41-
config:
42-
-
43-
subnet: 172.25.0.0/16

docker-compose.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,32 @@
1-
version: '3'
1+
version: '3.5'
22

33
services:
44
api:
5+
container_name: api.127.0.0.1.xip.io
56
build: .
67
depends_on:
78
- mongo
89
networks:
910
- hc-network
11+
1012
mongo:
1113
image: mongo
1214
networks:
1315
- hc-network
1416
command: "--smallfiles --logpath=/dev/null"
1517

18+
# dns-proxy-server:
19+
# image: defreitas/dns-proxy-server
20+
# volumes:
21+
# - "/var/run/docker.sock:/var/run/docker.sock"
22+
# - "/etc/resolv.conf:/etc/resolv.conf"
23+
# - "./dns-proxy-server.config.json:/app/conf/config.json"
24+
# ports:
25+
# - 5380:5380
26+
# hostname: dns.mageddo
27+
# networks:
28+
# - hc-network
29+
1630
networks:
1731
hc-network:
32+
name: hc-network

0 commit comments

Comments
 (0)