-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (44 loc) · 1.1 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
45
46
47
48
49
50
version: "3.3"
services:
wikijs:
build:
context: ./wikijs
args:
ANNOTATE_URL: /viewer/web/viewer.html
command: yarn start
environment:
POSTGRES_HOST: wikijs_db
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
wikijs_db:
image: postgres
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
restart: always
volumes:
- db_data:/var/lib/postgres
hypothesis_pdfjs:
build: ./hypothesis-pdfjs
hypothesis_client:
build:
context: ./hypothesis-client
dockerfile: Dockerfile
args:
SIDEBAR_APP_URL: ${SIDEBAR_APP_URL}
CLIENT_ID: ${CLIENT_ID}
nginx:
image: nginx:latest
depends_on:
- wikijs
- hypothesis_client
- hypothesis_pdfjs
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
volumes:
db_data: