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

Commit 3cc34fa

Browse files
committed
Incorporate @ionphractal 's feedback, thanks 👍
See: #169 (comment)
1 parent 0cb0a8b commit 3cc34fa

4 files changed

+15
-24
lines changed

config/default-docker.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"baseURL": "http://api:3030",
2+
"baseURL": "http://api.127.0.0.1.xip.io:3030",
33
"mongodb": "mongodb://mongo:27017/hc_api",
44
"host": "0.0.0.0"
55
}

config/local-staging-docker.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ignoreTLS": true
1010
},
1111
"thumbor": {
12-
"url": "http://thumbor:8000",
12+
"url": "http://thumbor.127.0.0.1.xip.io:8000",
1313
"key": ""
1414
}
1515
}

docker-compose.staging.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,9 @@ services:
2424
- "1025:25"
2525

2626
thumbor:
27-
container_name: thumbor
28-
hostname: thumbor
27+
container_name: thumbor.127.0.0.1.xip.io
2928
image: apsl/thumbor
3029
networks:
3130
- hc-network
3231
ports:
3332
- "8000:8000"
34-
35-
networks:
36-
hc-network:
37-
name: hc-network
38-
driver: bridge
39-
ipam:
40-
driver: default

docker-compose.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ version: '3.5'
22

33
services:
44
api:
5-
container_name: api
6-
hostname: api
5+
container_name: api.127.0.0.1.xip.io
76
build: .
87
depends_on:
98
- mongo
@@ -16,17 +15,17 @@ services:
1615
- hc-network
1716
command: "--smallfiles --logpath=/dev/null"
1817

19-
dns-proxy-server:
20-
image: defreitas/dns-proxy-server
21-
volumes:
22-
- "/var/run/docker.sock:/var/run/docker.sock"
23-
- "/etc/resolv.conf:/etc/resolv.conf"
24-
- "./dns-proxy-server.config.json:/app/conf/config.json"
25-
ports:
26-
- 5380:5380
27-
hostname: dns.mageddo
28-
networks:
29-
- hc-network
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
3029

3130
networks:
3231
hc-network:

0 commit comments

Comments
 (0)