-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
44 lines (42 loc) · 990 Bytes
/
compose.yaml
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
version: '3.5'
services:
cryptolio-nginx:
image: nginx:latest
container_name: cryptolio-nginx
restart: always
ports:
- '127.0.0.1:${NGINX_PORT}:${NGINX_PORT}'
networks:
- nwk
volumes:
- ./nginx/:/etc/nginx/templates/
environment:
- NGINX_PORT=${NGINX_PORT}
- FRONT_PORT=${FRONT_PORT}
- EXPRESS_PORT=${EXPRESS_PORT}
cryptolio-react:
container_name: cryptolio-react
build:
context: packages/react-app
restart: always
ports:
- "127.0.0.1:${FRONT_PORT}:${FRONT_PORT}"
networks:
- nwk
environment:
- FRONT_PORT=${FRONT_PORT}
cryptolio-express:
container_name: cryptolio-express
build:
context: packages/nodejs-app
restart: always
networks:
- nwk
ports:
- '127.0.0.1:${EXPRESS_PORT}:${EXPRESS_PORT}'
environment:
- 'EXPRESS_PORT=${EXPRESS_PORT}'
- 'MORALIS_API_KEY=${MORALIS_API_KEY}'
networks:
nwk:
driver: bridge