-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
85 lines (79 loc) · 2.22 KB
/
docker-compose.yaml
File metadata and controls
85 lines (79 loc) · 2.22 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.3'
services:
drawpile-srv:
image: drawpile/drawpile-srv:${DP_VERSION:-2.3}
command:
--sessions /home/drawpile/sessions
--database /home/drawpile/config.db
--web-admin-port 27780
--web-admin-access all
--templates /var/session-templates
--local-host ${DOMAIN}
--extauth https://drawpile.net/api/ext-auth/
--report-url http://abusereport:8080/
--websocket-port 27751
restart: always
ports:
- "27750:27750"
volumes:
- type: volume
source: serverdata
target: /home/drawpile
- type: bind
source: ./session-templates
target: /var/session-templates
read_only: true
networks:
- dpserver
listserver:
image: drawpile/listserver:${LISTSERVER_VERSION:-1}
restart: always
networks:
- dpserver
environment:
LS_INCLUDESERVERS: http://drawpile-srv:27780/api
LS_DATABASE: none
LS_NAME: ${DOMAIN}
LS_PROXYHEADERS: "true"
abusereport:
image: drawpile/abusereport:${ABUSEREPORT_VERSION:-1}
restart: always
networks:
- dpserver
environment:
SERVER_HOST: ${DOMAIN}
DISCORD_WEBHOOK: ${DISCORD_WEBHOOK}
nginx:
build:
context: ./nginx
args:
- DOMAIN
- EMAIL
environment:
DOMAIN: ${DOMAIN}
EMAIL: ${EMAIL}
USE_CERTBOT: ${USE_CERTBOT:-no}
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- type: bind
source: ./nginx-config
target: /etc/nginx/conf.d
read_only: true
- type: bind
source: ./public_html
target: /var/www/public_html
read_only: true
- type: volume
source: certbot
target: /etc/certbot
networks:
- dpserver
volumes:
serverdata:
certbot:
networks:
dpserver:
driver: bridge