Files
Tranga/docker-compose.yaml
glax 565cf01114
Some checks are pending
Docker Image CI / build (push) Waiting to run
docker-compose update
2025-10-15 02:03:22 +02:00

63 lines
1.4 KiB
YAML

version: '3'
services:
tranga-api:
image: glax/tranga-api:Server-V2
container_name: tranga-api
user: "${UID}:${GID}"
volumes:
- ./Manga:/Manga
- ./settings:/usr/share/tranga-api
ports:
- "6531:6531"
depends_on:
tranga-pg:
condition: service_healthy
environment:
- POSTGRES_HOST=tranga-pg
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
#- FLARESOLVERR_URL=
#- POSTGRES_COMMAND_TIMEOUT=120
#- POSTGRES_CONNECTION_TIMEOUT=
#- CHECK_CHAPTERS_BEFORE_START=false
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
tranga-website:
image: glax/tranga-website:Server-V2
container_name: tranga-website
ports:
- "9555:80"
depends_on:
- tranga-api
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
tranga-pg:
image: postgres:17
container_name: tranga-pg
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
#- PGPORT=5432
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
interval: 30s
timeout: 60s
retries: 5
start_period: 80s
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"