Skip to content

Instantly share code, notes, and snippets.

@lizheming
Last active January 22, 2019 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lizheming/792d2018c201a504fa3c2cdc0e180724 to your computer and use it in GitHub Desktop.
Save lizheming/792d2018c201a504fa3c2cdc0e180724 to your computer and use it in GitHub Desktop.
Firekylin docker
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