Skip to content

Commit

Permalink
release: 5.0.2
Browse files Browse the repository at this point in the history
* Fix error 500, postgres high load
  • Loading branch information
luizjr authored Oct 4, 2022
1 parent 924732f commit fad772d
Show file tree
Hide file tree
Showing 9 changed files with 422 additions and 335 deletions.
85 changes: 85 additions & 0 deletions Changelog.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FROM ubuntu:focal-20220316
LABEL maintainer="sameer@damagehead.com"

ENV RUBY_VERSION=2.7 \
REDMINE_VERSION=5.0.2 \
REDMINE_VERSION=5.0.3 \
REDMINE_USER="redmine" \
REDMINE_HOME="/home/redmine" \
REDMINE_LOG_DIR="/var/log/redmine" \
Expand Down
143 changes: 73 additions & 70 deletions README.md

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docker-compose-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,63 +4,63 @@ services:
database:
image: mariadb:10.5
environment:
- MARIADB_USER=redmine
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=redmine_production
- MARIADB_RANDOM_ROOT_PASSWORD=1
- MARIADB_USER=redmine
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=redmine_production
- MARIADB_RANDOM_ROOT_PASSWORD=1
volumes:
- /srv/docker/redmine/mariadb:/var/lib/mysql
- /srv/docker/redmine/mariadb:/var/lib/mysql

redmine:
build: ./
image: sameersbn/redmine:5.0.2
image: sameersbn/redmine:5.0.3
depends_on:
- database
- database
environment:
- TZ=Asia/Kolkata
- TZ=Asia/Kolkata

- DB_ADAPTER=mysql2
- DB_HOST=database
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=preferred
- DB_ADAPTER=mysql2
- DB_HOST=database
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=preferred

- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=

- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15

- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_CONCURRENT_UPLOADS=2

- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- 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
- 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
- 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"
- "10083:80"
volumes:
- /srv/docker/redmine/redmine_mariadb:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
- /srv/docker/redmine/redmine_mariadb:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
91 changes: 45 additions & 46 deletions docker-compose-memcached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ services:
postgresql:
image: sameersbn/postgresql:9.6-4
environment:
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
volumes:
- /srv/docker/redmine/postgresql:/var/lib/postgresql

- /srv/docker/redmine/postgresql:/var/lib/postgresql

memcached:
image: memcached:alpine
Expand All @@ -19,57 +18,57 @@ services:

redmine:
build: ./
image: sameersbn/redmine:5.0.2
image: sameersbn/redmine:5.0.3
depends_on:
- postgresql
- memcached
- postgresql
- memcached
environment:
- TZ=Asia/Kolkata
- TZ=Asia/Kolkata

- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=prefer
- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=prefer

- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=

- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15

- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_CONCURRENT_UPLOADS=2

- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- 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
- 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
- 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

- MEMCACHE_HOST=memcached
- MEMCACHE_HOST=memcached

ports:
- "10083:80"
- "10083:80"
volumes:
- /srv/docker/redmine/redmine:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
- /srv/docker/redmine/redmine:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
86 changes: 43 additions & 43 deletions docker-compose-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,62 @@ services:
mysql:
image: sameersbn/mysql:5.7.22-1
environment:
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
volumes:
- /srv/docker/redmine/mysql:/var/lib/mysql
- /srv/docker/redmine/mysql:/var/lib/mysql

redmine:
build: ./
image: sameersbn/redmine:5.0.2
image: sameersbn/redmine:5.0.3
depends_on:
- mysql
- mysql
environment:
- TZ=Asia/Kolkata
- TZ=Asia/Kolkata

- DB_ADAPTER=mysql2
- DB_HOST=mysql
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=preferred
- DB_ADAPTER=mysql2
- DB_HOST=mysql
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- DB_SSL_MODE=preferred

- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=

- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15

- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_CONCURRENT_UPLOADS=2

- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- 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
- 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
- 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"
- "10083:80"
volumes:
- /srv/docker/redmine/redmine_mysql:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
- /srv/docker/redmine/redmine_mysql:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine
Loading

0 comments on commit fad772d

Please sign in to comment.