Inicjalizacja repozytorium po uporządkowaniu Gitea; dodanie gitignore

This commit is contained in:
root
2026-03-17 23:41:37 +01:00
committed by KrzysztofC
parent 3b05709801
commit 7614de074c
22 changed files with 631 additions and 0 deletions

3
redmine/.env Normal file
View File

@@ -0,0 +1,3 @@
POSTGRES_PASSWORD=QmIY3kfvtUqodNtg
REDMINE_DB_PASSWORD=sB2wux8NAw6s5f1G
REDMINE_SECRET_KEY_BASE=biFeoX50LbQ4861rW8dPvfFzmsMRya1W

View 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