Skip to content

Instantly share code, notes, and snippets.

@raphiz
Created December 15, 2016 12:11
Show Gist options
  • Save raphiz/1ac6a2af71673a1f6036ed9330042225 to your computer and use it in GitHub Desktop.
Save raphiz/1ac6a2af71673a1f6036ed9330042225 to your computer and use it in GitHub Desktop.
Redmine docker-compose
version: '2'
services:
redmine:
image: redmine
ports:
- 0.0.0.0:8080:3000
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_PASSWORD: example
depends_on:
- db
restart: always
volumes:
- redmine-data:/usr/src/redmine/files
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: redmine
restart: always
volumes:
- mysql-data:/etc/mysql/conf.d
volumes:
redmine-data:
mysql-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment