This commit is contained in:
Shiroyasha 2025-06-10 00:54:51 +03:00
commit 1c273e1fc0
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
46 changed files with 7589 additions and 0 deletions

39
docker-compose_templ.yaml Normal file
View file

@ -0,0 +1,39 @@
services:
phppgadmin:
container_name: phppgadmin
restart: unless-stopped
image: ngosang/phppgadmin:7.14.6-mod-1
volumes:
- ./config.inc.php:/var/www/app/conf/config.inc.php:ro
ports:
- 8080:80
frontend:
# Based on szurubooru/client:2.5
build: ./client
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
# Timezone
TZ: 'Europe/Moscow'
# Backend "hostname:port"
BACKEND_HOST: 'host.docker.internal:6667'
BASE_URL:
volumes:
- ./data:/data:ro
ports:
- 80:80
postgresql:
image: postgres:11-alpine
restart: unless-stopped
environment:
POSTGRES_USER: axumbooru
POSTGRES_PASSWORD: axumbooru
ports:
- 5432:5432
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data: