-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 1.05 KB
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
services:
nginx:
image: nginx:stable-alpine
env_file:
- .env
environment:
- NODE_HOST=app
command: /bin/sh /entry.sh
networks:
- templrjs
ports:
- ${NGINX_PORT}:80
volumes:
- ./${CONFIG_WEB}:/etc/nginx/templates
- ./${BIN_NGINX_ENTRY}:/entry.sh
app:
env_file:
- .env
- packages/presentation/.env
build:
context: .
dockerfile: ./Dockerfile
args:
USERNAME: runner
USER_UID: 1002
USER_GID: 1002
BIN_DEPLOY: ${BIN_DEPLOY}
DOCKER_ENV_DIR: ${DOCKER_ENV_DIR}
BIN_DEPLOY_REQ_SERVER: ${BIN_DEPLOY_REQ_SERVER}
NODE_VER: ${NODE_VER}
BUN_VER: ${BUN_VER}
PM2_WORKER: ${PM2_WORKER}
networks:
- templrjs
expose:
- '${NODE_PORT}'
networks:
templrjs:
name: templrjs
driver: bridge