Upload files to "/"

Signed-off-by: nestict <developer@nestict.com>
This commit is contained in:
2026-01-16 12:43:47 +01:00
parent 97c98e423b
commit eca904f74c
16 changed files with 17367 additions and 229 deletions

39
docker-compose.yaml Normal file
View File

@@ -0,0 +1,39 @@
services:
server:
build:
context: .
dockerfile: Dockerfile
ports:
- 8000:8000
restart: unless-stopped
environment:
DATABASE_URL: "postgres://postgres:postgres@db:5432/horilla"
command: sh ./entrypoint.sh
volumes:
- ./horilla:/app/horilla
- ./media:/app/media
depends_on:
db:
condition: service_healthy
db:
image: postgres:16-bullseye
environment:
POSTGRES_DB: horilla
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256"
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- 5432:5432
restart: unless-stopped
volumes:
- horilla-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 10s
timeout: 5s
retries: 5
volumes:
horilla-data: