Last active
February 16, 2019 13:52
-
-
Save Mo3g4u/4c3b980c2db55d628a4777e320c2e606 to your computer and use it in GitHub Desktop.
redmine4 docker-compose sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
postgresql: | |
image: sameersbn/postgresql:9.6-4 | |
environment: | |
- DB_USER=redmine | |
- DB_PASS=password | |
- DB_NAME=redmine_production | |
volumes: | |
- ./postgresql:/var/lib/postgresql | |
redmine: | |
#build: ./ | |
image: sameersbn/redmine:4.0.0 | |
depends_on: | |
- postgresql | |
environment: | |
- TZ=Asia/Tokyo | |
- DB_ADAPTER=postgresql | |
- DB_HOST=postgresql | |
- DB_PORT=5432 | |
- DB_USER=redmine | |
- DB_PASS=password | |
- DB_NAME=redmine_production | |
- REDMINE_PORT=10083 | |
- REDMINE_HTTPS=false | |
- REDMINE_RELATIVE_URL_ROOT= | |
- REDMINE_SECRET_TOKEN= | |
- REDMINE_SUDO_MODE_ENABLED=false | |
- REDMINE_SUDO_MODE_TIMEOUT=15 | |
- REDMINE_CONCURRENT_UPLOADS=2 | |
- REDMINE_BACKUP_SCHEDULE= | |
- REDMINE_BACKUP_EXPIRY= | |
- REDMINE_BACKUP_TIME= | |
- SMTP_ENABLED=false | |
- SMTP_METHOD=smtp | |
- SMTP_DOMAIN=www.example.com | |
- SMTP_HOST=smtp.gmail.com | |
- SMTP_PORT=587 | |
- SMTP_USER=mailer@example.com | |
- SMTP_PASS=password | |
- SMTP_STARTTLS=true | |
- SMTP_AUTHENTICATION=:login | |
- IMAP_ENABLED=false | |
- IMAP_HOST=imap.gmail.com | |
- IMAP_PORT=993 | |
- IMAP_USER=mailer@example.com | |
- IMAP_PASS=password | |
- IMAP_SSL=true | |
- IMAP_INTERVAL=30 | |
ports: | |
- "10083:80" | |
volumes: | |
- ./data:/home/redmine/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment