Skip to content

Instantly share code, notes, and snippets.

@ptc0219
Created December 30, 2020 08:30
Show Gist options
  • Save ptc0219/b1be1f251c756a7631393f889f43e975 to your computer and use it in GitHub Desktop.
Save ptc0219/b1be1f251c756a7631393f889f43e975 to your computer and use it in GitHub Desktop.
Redmine Docker Compose
version: '3.1'
services:
redmine:
image: redmine
restart: always
ports:
- 3000:3000
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: redmine
REDMINE_SECRET_KEY_BASE: redmin12345
TZ: Asia/Taipei
volumes:
- ./redmine_data:/usr/src/redmine/files
- ./redmine_plugins:/usr/src/redmine/plugins
- ./redmine_themes:/usr/src/redmine/public/themes
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: redmine
MYSQL_DATABASE: redmine
MYSQL_USER: redmine
MYSQL_PASSWORD: redmine
TZ: Asia/Taipei
volumes:
- ./mysql_data:/var/lib/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment