Last active
March 22, 2020 19:29
-
-
Save christianlupus/5b6a16c9b1c5ea37dcdaa8144ecaf213 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
image: mhubig/partkeepr:latest | |
environment: | |
- PARTKEEPR_DATABASE_HOST=db | |
- PARTKEEPR_DATABASE_NAME=partkeepr | |
- PARTKEEPR_DATABASE_PORT=3306 | |
- PARTKEEPR_DATABASE_USER=partkeepr | |
- PARTKEEPR_DATABASE_PASS=partkeepr | |
- PARTKEEPR_OKTOPART_APIKEY=XXXXXXXX | |
ports: | |
- "127.0.0.1:8081:80" | |
volumes: | |
- data:/var/www/html/data | |
- web:/var/www/html/web | |
depends_on: | |
- db | |
db: | |
image: mariadb:10.1 | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_DATABASE=partkeepr | |
- MYSQL_USER=partkeepr | |
- MYSQL_PASSWORD=partkeepr | |
volumes: | |
- db:/var/lib/mysql | |
volumes: | |
data: | |
web: | |
db: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment