-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdebug.docker-compose.yml
47 lines (43 loc) · 1.17 KB
/
debug.docker-compose.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
version: '3.8'
## Container debugging:
# 1. append the following lines to desired container
# 2. boot up the container using `docker-compose up -d`
# 3 run `docker exec -it <container-name> bash` to start interactive shell
#
# tty: true
# stdin_open: true
# entrypoint: bash
# Building: docker build ./ --build-arg NODE_AUTH_TOKEN -t ghcr.io/i-tech-uw/shared-health-record:local
services:
# shr: Run natively using yarn, or see docker-compose.yml
shr:
container_name: shr
restart: unless-stopped
hostname: shr
image: itechuw/shared-health-record:dev
build:
context: ./
args:
- NODE_ENV=docker
ports:
- 4000:3000
- 3001:3001
- 3002:3001
- '9230:9230'
extra_hosts:
- 'host.docker.internal:host-gateway'
environment:
- NODE_ENV=docker
volumes:
- ./config/config_docker.json:/app/config/config_docker.json
- ./config/mediator_docker.json:/app/config/mediator_docker.json
entrypoint: node --inspect=0.0.0.0:9230 /app/dist/app.js
# tty: true
# stdin_open: true
# entrypoint: bash
networks:
- hie
networks:
hie:
external: true
name: hie-botswana_hie