Skip to content

Commit

Permalink
v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Dec 27, 2018
1 parent 0a16640 commit e23e2fb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docker/docker-compose-aliyunswarm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
jpress:
image: 'fuhai/jpress:latest'
restart: always
environment:
- TZ=Asia/Shanghai
- JPRESS_DB_HOST=jpressdb.local
- JPRESS_DB_PORT=3306
- JPRESS_DB_NAME=jpress
- JPRESS_DB_USER=jpress
- JPRESS_DB_PASSWORD=jpress
external_links:
- "jpressdb.local"
labels:
aliyun.scale: '1'
aliyun.routing.port_8080: 'http://jpress'
db:
image: 'mysql:5.6'
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
- MYSQL_ROOT_PASSWORD=jpress
- MYSQL_DATABASE=jpress
- MYSQL_USER=jpress
- MYSQL_PASSWORD=jpress
labels:
aliyun.scale: '1'
aliyun.routing.port_3306: jpressdb.local

0 comments on commit e23e2fb

Please sign in to comment.