File tree Expand file tree Collapse file tree 5 files changed +96
-1
lines changed Expand file tree Collapse file tree 5 files changed +96
-1
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " docker"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " weekly"
7
+ reviewers :
8
+ - " ZPascal"
Original file line number Diff line number Diff line change
1
+ /.idea /
Original file line number Diff line number Diff line change 1
1
# pretix-docker-compose
2
- The repository includes a Pretix Docker compose configuration
2
+ The repository includes a Pretix Docker compose configuration.
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+ services :
3
+ app :
4
+ container_name : pretix_app
5
+ image : pretix/standalone:stable
6
+ restart : always
7
+ depends_on :
8
+ - database
9
+ - cache
10
+ volumes :
11
+ - pretix_data:/data
12
+ - ./docker/pretix.cfg:/etc/pretix/pretix.cfg
13
+ ports :
14
+ - " 8000:80"
15
+ networks :
16
+ - backend
17
+
18
+ database :
19
+ image : postgres:13-alpine3.19
20
+ container_name : database
21
+ ports :
22
+ - " 5432:5432"
23
+ environment :
24
+ - POSTGRES_USER=pretix
25
+ - POSTGRES_PASSWORD=pretix
26
+ volumes :
27
+ - postgres_data:/var/lib/postgresql/data
28
+ networks :
29
+ - backend
30
+
31
+ cache :
32
+ image : redis:alpine3.19
33
+ container_name : redis
34
+ ports :
35
+ - " 6379:6379"
36
+ restart : always
37
+ networks :
38
+ - backend
39
+
40
+ volumes :
41
+ postgres_data :
42
+ driver : local
43
+ pretix_data :
44
+ driver : local
45
+
46
+ networks :
47
+ backend :
48
+ external : false
Original file line number Diff line number Diff line change
1
+ [pretix]
2
+ instance_name =localhost
3
+ url =http://localhost
4
+ currency =EUR
5
+ ; DO NOT change the following value, it has to be set to the location of the
6
+ ; directory *inside* the docker container
7
+ datadir =/data
8
+ registration =off
9
+
10
+ [locale]
11
+ default =de
12
+ timezone =Europe/Berlin
13
+
14
+ [database]
15
+ backend =postgresql
16
+ name =pretix
17
+ user =pretix
18
+ password =pretix
19
+ host =database
20
+
21
+ [mail]
22
+ from =FROM_MAIL
23
+ host =MAIL_SERVER
24
+ user =USERNAME
25
+ password =FOOBAR
26
+ port =587
27
+ tls =off
28
+ ssl =off
29
+
30
+ [redis]
31
+ location =redis://cache/0
32
+ ; Remove the following line if you are unsure about your redis'security
33
+ ; to reduce impact if redis gets compromised.
34
+ sessions =true
35
+
36
+ [celery]
37
+ backend =redis://cache/1
38
+ broker =redis://cache/2
You can’t perform that action at this time.
0 commit comments