Inicjalizacja repozytorium po uporządkowaniu Gitea; dodanie gitignore
This commit is contained in:
3
redmine/.env
Normal file
3
redmine/.env
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_PASSWORD=QmIY3kfvtUqodNtg
|
||||
REDMINE_DB_PASSWORD=sB2wux8NAw6s5f1G
|
||||
REDMINE_SECRET_KEY_BASE=biFeoX50LbQ4861rW8dPvfFzmsMRya1W
|
||||
57
redmine/docker-compose.yml
Normal file
57
redmine/docker-compose.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
name: redmine-v1
|
||||
services:
|
||||
redmine:
|
||||
image: redmine:5-alpine
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- files:/usr/src/redmine/files
|
||||
- plugins:/usr/src/redmine/plugins
|
||||
- themes:/usr/src/redmine/public/themes
|
||||
ports:
|
||||
- 8080:3000
|
||||
networks:
|
||||
- central_dogma
|
||||
- default
|
||||
environment:
|
||||
- REDMINE_DB_POSTGRES=postgres
|
||||
- REDMINE_DB_USERNAME=redmine
|
||||
- REDMINE_DB_DATABASE=redmine
|
||||
- REDMINE_DB_PASSWORD=${REDMINE_DB_PASSWORD}
|
||||
- REDMINE_SECRET_KEY_BASE=${REDMINE_SECRET_KEY_BASE}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=redmine
|
||||
- POSTGRES_USER=redmine
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U redmine -d redmine"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
files:
|
||||
external: true
|
||||
name: redmine_files
|
||||
plugins:
|
||||
external: true
|
||||
name: redmine_plugins
|
||||
themes:
|
||||
external: true
|
||||
name: redmine_themes
|
||||
db-data:
|
||||
external: true
|
||||
name: redmine_db-data
|
||||
|
||||
networks:
|
||||
central_dogma:
|
||||
external: true
|
||||
Reference in New Issue
Block a user