Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/default-docker.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"baseURL": "http://api.127.0.0.1.xip.io:3030",
"mongodb": "mongodb://mongo:27017/hc_api",
"host": "0.0.0.0"
}
5 changes: 2 additions & 3 deletions config/local-staging-docker.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"baseURL": "http://172.25.0.11:3030",
"seeder": {
"runOnInit": true,
"dropDatabase": true
"dropDatabase": false
},
"smtpConfig": {
"host": "maildev",
"port": 25,
"ignoreTLS": true
},
"thumbor": {
"url": "http://localhost:8000",
"url": "http://thumbor.127.0.0.1.xip.io:8000",
"key": ""
}
}
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: '3.5'

services:
api:
Expand Down
23 changes: 6 additions & 17 deletions docker-compose.staging.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
version: '3.5'

services:
api:
image: humanconnection/api-feathers
image: humanconnection/api-feathers:edge
build:
context: .
environment:
Expand All @@ -13,31 +13,20 @@ services:
ports:
- "3030:3030"
networks:
hc-network:
ipv4_address: 172.25.0.11
thumbor:
networks:
hc-network:
ipv4_address: 172.25.0.13
- hc-network

maildev:
image: djfarrelly/maildev
networks:
- hc-network
ports:
- "1080:80"
- "1025:25"

thumbor:
container_name: thumbor.127.0.0.1.xip.io
image: apsl/thumbor
networks:
- hc-network
ports:
- "8000:8000"

networks:
hc-network:
driver: bridge
ipam:
driver: default
config:
-
subnet: 172.25.0.0/16
17 changes: 16 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
version: '3'
version: '3.5'

services:
api:
container_name: api.127.0.0.1.xip.io
build: .
depends_on:
- mongo
networks:
- hc-network

mongo:
image: mongo
networks:
- hc-network
command: "--smallfiles --logpath=/dev/null"

# dns-proxy-server:
# image: defreitas/dns-proxy-server
# volumes:
# - "/var/run/docker.sock:/var/run/docker.sock"
# - "/etc/resolv.conf:/etc/resolv.conf"
# - "./dns-proxy-server.config.json:/app/conf/config.json"
# ports:
# - 5380:5380
# hostname: dns.mageddo
# networks:
# - hc-network

networks:
hc-network:
name: hc-network