version: '3.9'
services:
redmine:
image: redmine:5.0
restart: always
depends_on:
- mysql-redmine
ports:
- 8090:3000
volumes:
- /srv/redmine-files:/usr/src/redmine/files
- /srv/redmine-logs:/var/log/redmine
environment:
- TZ=Europe/Kyiv
- REDMINE_DB_MYSQL=mysql-redmine
# - REDMINE_DB_USER=redmine
# - REDMINE_DB_PASSWORD=somepassword
- REDMINE_DB_PASSWORD=supermegapassword
- REDMINE_SECRET_KEY_BASE=supersecretkey
networks:
redmine:
mysql-redmine:
image: mysql:8.0
restart: always
environment:
- MYSQL_ROOT_PASSWORD=supermegapassword
- MYSQL_DATABASE=redmine
- MYSQL_USER=redmine
- MYSQL_PASSWORD=somepassword
networks:
redmine:
networks:
redmine:
driver: bridge