Updated docker-compose
This commit is contained in:
parent
1d8df135d9
commit
0cd283172e
|
@ -1,32 +1,31 @@
|
||||||
version: '3.1'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
main:
|
||||||
redmine:
|
image: registry.verdnatura.es/vn-redmine
|
||||||
image: vn-redmine
|
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000
|
||||||
# volumes:
|
volumes:
|
||||||
# - /mnt/storage/redmine/plugins:/usr/src/redmine/plugins
|
- /mnt/storage/redmine/data:/usr/src/redmine/files
|
||||||
# - /mnt/storage/redmine/themes:/usr/src/redmine/public/themes
|
|
||||||
# - /mnt/storage/redmine/data:/usr/src/redmine/files
|
|
||||||
environment:
|
environment:
|
||||||
REDMINE_DB_MYSQL: db
|
REDMINE_DB_POSTGRES: db
|
||||||
REDMINE_DB_PASSWORD: aeb69b9dUX$$.
|
REDMINE_DB_USERNAME: redmine
|
||||||
REDMINE_SECRET_KEY_BASE: rd1954521
|
REDMINE_DB_PASSWORD: ${REDMINE_DB_PASSWORD}
|
||||||
|
REDMINE_SECRET_KEY_BASE: ${REDMINE_SECRET_KEY_BASE}
|
||||||
REDMINE_PLUGINS_MIGRATE: "true"
|
REDMINE_PLUGINS_MIGRATE: "true"
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: postgres
|
||||||
restart: always
|
restart: always
|
||||||
# volumes:
|
volumes:
|
||||||
# - /mnt/storage/redmine/db:/var/lib/mysql
|
- db:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=aeb69b9dUX$$.
|
- POSTGRES_PASSWORD=${REDMINE_DB_PASSWORD}
|
||||||
- MYSQL_PASSWORD=aeb69b9dUX$$.
|
- POSTGRES_USER=redmine
|
||||||
- MYSQL_DATABASE=redmine
|
- POSTGRES_DB=redmine
|
||||||
- MYSQL_USER=redmine
|
deploy:
|
||||||
# deploy:
|
replicas: 1
|
||||||
# placement:
|
placement:
|
||||||
# constraints:
|
constraints:
|
||||||
# - node.hostname == vch1
|
- node.hostname == vch2
|
||||||
|
volumes:
|
||||||
|
db:
|
Loading…
Reference in New Issue