forked from Arkisto-Platform/ohrm-jsonld-exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
44 lines (42 loc) · 1.12 KB
/
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
version: "3.3"
volumes:
ohrm_db:
driver: local
exporter_node_modules:
driver: local
services:
db:
image: postgres:13-alpine
hostname: db
tty: true
environment:
TERM: "xterm-256color"
NODE_ENV: "development"
POSTGRES_DB: "postgres"
POSTGRES_USER: "root"
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: "trust"
PGDATA: /postgresql/data
working_dir: /srv/exporter
volumes:
- ./data:/srv/data
- ./pgdata:/postgresql
ports:
- 5432:5432
exporter:
image: node:18-bullseye
hostname: exporter
tty: true
environment:
TERM: "xterm-256color"
NODE_ENV: "development"
LOG_LEVEL: "debug"
DB_HOST: "db"
DB_PORT: "5432"
DB_USER: "root"
DB_PASSWORD: ""
volumes:
- exporter_node_modules:/srv/exporter/node_modules:delegated
- ./:/srv/exporter
working_dir: /srv/exporter
command: [ '/bin/bash' ]