fix(docker): restore mariadb service

Additionally, for now, no-op usage of the MARIADB_SOCKET_DIR
environment variable. This is particularly useful for a serious
production setup, but we don't currently use that.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-25 14:26:22 -07:00
parent 651c1cd8c6
commit 1656f5824d
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 18 additions and 22 deletions

View file

@ -19,7 +19,6 @@ services:
volumes:
- ${GIT_DATA_DIR}:/aurweb/aur.git
- cache:/cache
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
smartgit:
restart: always
@ -42,7 +41,6 @@ services:
restart: always
volumes:
- cache:/cache
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
fastapi:
restart: always
@ -50,11 +48,6 @@ services:
- FASTAPI_BACKEND="gunicorn"
volumes:
- cache:/cache
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
mariadb_init:
volumes:
- ${MARIADB_SOCKET_DIR}:/var/run/mysqld
nginx:
restart: always