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

Signed-off-by: moson <moson@archlinux.org>
2023-12-12 19:24:56 +01:00

40 lines
753 B
YAML

version: "3.8"
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