forked from TFNS/CTFNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
38 lines (38 loc) · 844 Bytes
/
docker-compose.dev.yml
File metadata and controls
38 lines (38 loc) · 844 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
37
38
version: "3.7"
services:
db:
build:
context: "./db"
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ctfnote
POSTGRES_USER: ctfnote
POSTGRES_MULTIPLE_DATABASES: hedgedoc
volumes:
- ctfnote-db:/var/lib/postgresql/data
networks:
- ctfnote
ports:
- "5432:5432"
hedgedoc:
image: quay.io/hedgedoc/hedgedoc:1.10.3
environment:
CMD_DB_URL: "postgres://ctfnote:ctfnote@db:5432/hedgedoc"
CMD_URL_PATH: "pad"
CMD_IMAGE_UPLOAD_TYPE: "filesystem"
CMD_CSP_ENABLE: "false"
CMD_RATE_LIMIT_NEW_NOTES: "0"
depends_on:
- db
restart: unless-stopped
volumes:
- pad-uploads:/home/hackmd/app/public/uploads
networks:
- ctfnote
ports:
- "3001:3000"
volumes:
ctfnote-db:
pad-uploads:
networks:
ctfnote: