Last active
January 22, 2019 08:01
-
-
Save lizheming/792d2018c201a504fa3c2cdc0e180724 to your computer and use it in GitHub Desktop.
Firekylin docker
This file contains hidden or 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: '2' | |
services: | |
db: | |
image: mysql:5 | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_USER=firekylin | |
- MYSQL_PASSWORD=firekylin | |
- MYSQL_DATABASE=firekylin | |
blog: | |
image: firekylin/firekylin:1.2.3 | |
ports: | |
- 8360:8360 | |
depends_on: | |
- db | |
volumes: | |
- $PWD/wwww/uploads:www/uploads | |
- $PWD/www/theme:www/theme | |
environment: | |
- FK_DB_HOST=db | |
- FK_DB_PORT=3306 | |
- FK_DB_DATABASE=firekylin | |
- FK_DB_USER=firekylin | |
- FK_DB_PASSWORD=firekylin | |
- FK_DB_ENCODING=utf8mb4 | |
- FK_DB_PREFIX=fk_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment