forked from mhubig/docker-partkeepr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 776 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (31 loc) · 776 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
version: "3"
services:
partkeepr:
image: mhubig/partkeepr:latest
environment:
- PARTKEEPR_DATABASE_HOST=database
- PARTKEEPR_DATABASE_NAME=partkeepr
- PARTKEEPR_DATABASE_PORT=3306
- PARTKEEPR_DATABASE_USER=partkeepr
- PARTKEEPR_DATABASE_PASS=partkeepr
- PARTKEEPR_OKTOPART_APIKEY
ports:
- "80:80"
volumes:
- partkeepr-data:/var/www/html/data
- partkeepr-web:/var/www/html/web
depends_on:
- database
database:
image: mariadb:10.3
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=partkeepr
- MYSQL_USER=partkeepr
- MYSQL_PASSWORD=partkeepr
volumes:
- mysql-data:/var/lib/mysql
volumes:
partkeepr-data:
partkeepr-web:
mysql-data: