Delete docker-compose.yml

This commit is contained in:
ItsNik 2024-05-22 00:50:26 +02:00 committed by GitHub
parent 4375176181
commit 3f02911fe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,26 +0,0 @@
version: '3'
services:
tianji:
image: moonrailgun/tianji
ports:
- "12345:12345"
environment:
DATABASE_URL: postgresql://tianji:tianji@postgres:5432/tianji
JWT_SECRET: replace-me-with-a-random-string
ALLOW_REGISTER: "false"
ALLOW_OPENAPI: "true"
depends_on:
- postgres
restart: always
postgres:
image: postgres:15.4-alpine
environment:
POSTGRES_DB: tianji
POSTGRES_USER: tianji
POSTGRES_PASSWORD: tianji
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5