mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: Switch to postgres
Migrate from MariaDB to PostgreSQL. Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
3220cf886e
commit
db8e2458f9
64 changed files with 572 additions and 629 deletions
|
@ -9,7 +9,7 @@ services:
|
|||
redis:
|
||||
restart: always
|
||||
|
||||
mariadb:
|
||||
postgres:
|
||||
restart: always
|
||||
|
||||
git:
|
||||
|
@ -37,7 +37,7 @@ services:
|
|||
cron:
|
||||
volumes:
|
||||
# Exclude ./aurweb:/aurweb in production.
|
||||
- mariadb_run:/var/run/mysqld
|
||||
- postgres_run:/run/postgresql
|
||||
- archives:/var/lib/aurweb/archives
|
||||
|
||||
fastapi:
|
||||
|
@ -60,8 +60,8 @@ services:
|
|||
- smartgit_run:/var/run/smartgit
|
||||
|
||||
volumes:
|
||||
mariadb_run: {} # Share /var/run/mysqld
|
||||
mariadb_data: {} # Share /var/lib/mysql
|
||||
postgres_run: {}
|
||||
postgres_data: {}
|
||||
git_data: {} # Share aurweb/aur.git
|
||||
smartgit_run: {}
|
||||
data: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue