aurweb/docker-compose.override.yml
moson 122df968dc
feat: Switch to postgres
Migrate from MariaDB to PostgreSQL.

Signed-off-by: moson <moson@archlinux.org>
2024-12-10 16:13:12 +01:00

39 lines
741 B
YAML

---
services:
ca:
volumes:
- ./data:/data
- step:/root/.step
postgres_init:
depends_on:
postgres:
condition: service_healthy
git:
volumes:
- git_data:/aurweb/aur.git
- ./data:/aurweb/data
smartgit:
volumes:
- git_data:/aurweb/aur.git
- ./data:/data
- smartgit_run:/var/run/smartgit
depends_on:
postgres:
condition: service_healthy
fastapi:
volumes:
- ./data:/data
- ./aurweb:/aurweb/aurweb
- ./migrations:/aurweb/migrations
- ./test:/aurweb/test
- ./templates:/aurweb/templates
nginx:
volumes:
- ./data:/data
- archives:/var/lib/aurweb/archives
- smartgit_run:/var/run/smartgit