32 lines
824 B
YAML
32 lines
824 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
|
|
redmine:
|
|
image: vn-redmine
|
|
restart: always
|
|
ports:
|
|
- 3000:3000
|
|
# volumes:
|
|
# - /mnt/storage/redmine/plugins:/usr/src/redmine/plugins
|
|
# - /mnt/storage/redmine/themes:/usr/src/redmine/public/themes
|
|
# - /mnt/storage/redmine/data:/usr/src/redmine/files
|
|
environment:
|
|
REDMINE_DB_MYSQL: db
|
|
REDMINE_DB_PASSWORD: aeb69b9dUX$$.
|
|
REDMINE_SECRET_KEY_BASE: rd1954521
|
|
REDMINE_PLUGINS_MIGRATE: "true"
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
# volumes:
|
|
# - /mnt/storage/redmine/db:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=aeb69b9dUX$$.
|
|
- MYSQL_PASSWORD=aeb69b9dUX$$.
|
|
- MYSQL_DATABASE=redmine
|
|
- MYSQL_USER=redmine
|
|
# deploy:
|
|
# placement:
|
|
# constraints:
|
|
# - node.hostname == vch1 |