-
Notifications
You must be signed in to change notification settings - Fork 64
/
docker-compose.yml
88 lines (84 loc) · 2.64 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
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
85
86
87
88
version: "3"
services:
database:
image: mariadb:10.0
restart: on-failure
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=partkeepr
- MYSQL_USER=partkeepr
- MYSQL_PASSWORD=partkeepr
volumes:
- mysql-data:/var/lib/mysql
partkeepr:
image: mhubig/partkeepr:latest
restart: on-failure
environment:
- PARTKEEPR_DATABASE_HOST
- PARTKEEPR_DATABASE_NAME
- PARTKEEPR_DATABASE_PORT
- PARTKEEPR_DATABASE_USER
- PARTKEEPR_DATABASE_PASS
- PARTKEEPR_FR3D_LDAP_DRIVER_ACCOUNTCANONICALFORM
- PARTKEEPR_FR3D_LDAP_DRIVER_ACCOUNTDOMAINNAME
- PARTKEEPR_FR3D_LDAP_DRIVER_ACCOUNTDOMAINNAMESHORT
- PARTKEEPR_FR3D_LDAP_DRIVER_ACCOUNTFILTERFORMAT
- PARTKEEPR_FR3D_LDAP_DRIVER_BASEDN
- PARTKEEPR_FR3D_LDAP_DRIVER_BINDREQUIRESDN
- PARTKEEPR_FR3D_LDAP_DRIVER_HOST
- PARTKEEPR_FR3D_LDAP_DRIVER_OPTREFERRALS
- PARTKEEPR_FR3D_LDAP_DRIVER_PASSWORD
- PARTKEEPR_FR3D_LDAP_DRIVER_PORT
- PARTKEEPR_FR3D_LDAP_DRIVER_USESSL
- PARTKEEPR_FR3D_LDAP_DRIVER_USESTARTTLS
- PARTKEEPR_FR3D_LDAP_DRIVER_USERNAME
- PARTKEEPR_FR3D_LDAP_USER_ATTRIBUTE_EMAIL
- PARTKEEPR_FR3D_LDAP_USER_ATTRIBUTE_USERNAME
- PARTKEEPR_FR3D_LDAP_USER_BASEDN
- PARTKEEPR_FR3D_LDAP_USER_ENABLED
- PARTKEEPR_FR3D_LDAP_USER_FILTER
- PARTKEEPR_LOCALE
- PARTKEEPR_MAILER_AUTH_MODE
- PARTKEEPR_MAILER_ENCRYPTION
- PARTKEEPR_MAILER_HOST
- PARTKEEPR_MAILER_PASSWORD
- PARTKEEPR_MAILER_PORT
- PARTKEEPR_MAILER_TRANSPORT
- PARTKEEPR_MAILER_USER
- PARTKEEPR_AUTH_MAX_USERS
- PARTKEEPR_CATEGORY_PATH_SEPARATOR
- PARTKEEPR_CRONJOB_CHECK
- PARTKEEPR_FILESYSTEM_DATA_DIRECTORY
- PARTKEEPR_FILESYSTEM_QUOTA
- PARTKEEPR_MAINTENANCE
- PARTKEEPR_MAINTENANCE_MESSAGE
- PARTKEEPR_MAINTENANCE_TITLE
- PARTKEEPR_OCTOPART_APIKEY
- PARTKEEPR_PARTS_INTERNALPARTNUMBERUNIQUE
- PARTKEEPR_PARTS_LIMIT
- PARTKEEPR_USERS_LIMIT
- PARTKEEPR_SECRET
ports:
- "8080:80"
volumes:
- partkeepr-conf:/var/www/html/app/config
- partkeepr-data:/var/www/html/data
- partkeepr-web:/var/www/html/web
depends_on:
- database
cronjob:
image: mhubig/partkeepr:latest
restart: on-failure
entrypoint: []
command: bash -c "crontab /etc/cron.d/partkeepr && cron -f"
volumes:
- partkeepr-conf:/var/www/html/app/config:ro
- partkeepr-data:/var/www/html/data
- partkeepr-web:/var/www/html/web
depends_on:
- partkeepr
volumes:
partkeepr-conf:
partkeepr-data:
partkeepr-web:
mysql-data: