-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose-deploy.yml
53 lines (53 loc) · 1.21 KB
/
docker-compose-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Use: Production remote deployment.
# docker-compose -f docker-compose-deploy.yml pull
# docker-compose -f docker-compose-deploy.yml up -d
version: '2.4'
x-net: &net
networks:
- main
services:
iblapi:
extends:
file: ./docker-compose-base.yml
service: iblapi
<<: *net
ibl-navigator:
extends:
file: ./docker-compose-base.yml
service: ibl-navigator
environment:
- PROD_NODE_BACKEND=https://${SUBDOMAINS}.${URL}/api
<<: *net
ibl-node-server:
extends:
file: ./docker-compose-base.yml
service: ibl-node-server
<<: *net
letsencrypt:
extends:
file: ./docker-compose-base.yml
service: letsencrypt
environment:
- SUBDOMAINS
- URL
- STAGING=true # Keep uncommented for dev, comment out for Production use
volumes:
- ./letsencrypt-keys:/config/etc/letsencrypt
- ./letsencrypt/healthcheck.sh:/healthcheck.sh
<<: *net
nginx:
extends:
file: ./docker-compose-base.yml
service: nginx
environment:
- SUBDOMAINS
- URL
volumes:
- ./letsencrypt-keys:/etc/letsencrypt:ro
<<: *net
networks:
main:
ipam:
driver: default
config:
- subnet: 10.28.0.0/16