-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
52 lines (48 loc) · 1.21 KB
/
docker-compose.dev.yml
File metadata and controls
52 lines (48 loc) · 1.21 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
41
42
43
44
45
46
47
48
49
50
51
52
version: "3"
services:
db:
image: postgres:11
ports:
- 5432:5432
volumes:
- ./.db_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: "postgres"
apiserver:
image: node:12
user: node
working_dir: /app/harmonybackend/
volumes:
- ./harmonybackend:/app/harmonybackend/
- $HOME/.config/myplex:/home/node/.config/myplex
environment:
- NODE_ENV=development
- POSTGRES_HOST=db
- DEBUG=model*,web*
ports:
- "127.0.0.1:9229:9229"
depends_on:
- db
command: "./node_modules/nodemon/bin/nodemon.js bin/web.js"
webuiserver:
image: node:12
user: node
working_dir: /app/harmonyfrontend/
volumes:
- ./harmonyfrontend:/app/harmonyfrontend/
command: bash -c "npm rebuild && npm start"
web:
image: nginx
volumes:
- ./nginx/nginx.dev.conf:/etc/nginx/nginx.conf:ro
- ./nginx/mime.types:/etc/nginx/mime.types:ro
- ./harmonyfrontend/build/:/www/reactbuild/
- ./.certbot/conf:/etc/letsencrypt
- ./.certbot/www:/var/www/certbot
command: [nginx-debug, "-g", "daemon off;"]
ports:
- "80:80"
- "443:443"
depends_on:
- webuiserver
- apiserver