forked from datajoint-company/ibl-navigator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-build.yml
43 lines (43 loc) · 1014 Bytes
/
docker-compose-build.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
# Use: Production build and manual test. Provided things look good, you may follow with a push.
# docker-compose -f docker-compose-build.yml up --build
# docker-compose -f docker-compose-build.yml push
version: '2.4'
x-net: &net
networks:
- main
services:
iblapi:
extends:
file: ./docker-compose-base.yml
service: iblapi
build: ./backend
<<: *net
ibl-navigator:
extends:
file: ./docker-compose-base.yml
service: ibl-navigator
build: ./ibl-frontend
environment:
- PROD_NODE_BACKEND=https://fakeservices.datajoint.io/api
<<: *net
ibl-node-server:
extends:
file: ./docker-compose-base.yml
service: ibl-node-server
build: ./node_server
<<: *net
nginx:
extends:
file: ./docker-compose-base.yml
service: nginx
environment:
- SUBDOMAINS=fakeservices
- URL=datajoint.io
- CERTBOT_HOST=
<<: *net
networks:
main:
ipam:
driver: default
config:
- subnet: 10.28.0.0/16