-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
36 lines (36 loc) · 858 Bytes
/
compose.yaml
File metadata and controls
36 lines (36 loc) · 858 Bytes
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
services:
api:
build:
context: .
dockerfile: ./env/api/Dockerfile
ports:
- '3000:3000'
volumes:
- .:/srv/www
- ./env/api/node.sh:/etc/services.d/node/run
environment:
LOG_MODE: devServer
POSTGRES_SERVER: postgres://demo:demo@db:5432/demo
PORT: 3000
NODE_ENV: development
NAME: hpc-api-standalone-development
POSTGRES_LOGGING: 0
ROOT_URL: http://service.hpc.vm/
AUTHBASE_URL: http://api.hid.vm
WAIT_HOSTS: db:5432
WAIT_HOSTS_TIMEOUT: 120
depends_on:
- db
db:
image: postgres:14.17-alpine3.21
environment:
POSTGRES_PASSWORD: demo
POSTGRES_USER: demo
POSTGRES_DB: demo
ports:
- 5432:5432
volumes:
- hpc_postgres_db:/var/lib/postgresql/data
- ./backups:/backups
volumes:
hpc_postgres_db: