Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Morris
aurweb
Commits
e9fc27a3
Commit
e9fc27a3
authored
Oct 19, 2021
by
Steven Guikal
Browse files
feat(docker): make git data directory host-configurable
Signed-off-by:
Steven Guikal
<
void@fluix.one
>
parent
0b1c3ea5
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env
View file @
e9fc27a3
...
...
@@ -3,3 +3,4 @@ FASTAPI_WORKERS=2
MARIADB_SOCKET_DIR="/var/run/mysqld/"
CGIT_CLONE_PREFIX_PHP=https://localhost:8443
CGIT_CLONE_PREFIX_FASTAPI=https://localhost:8444
GIT_DATA_DIR="./aur.git/"
docker-compose.prod.yml
View file @
e9fc27a3
...
...
@@ -7,16 +7,24 @@ services:
git
:
volumes
:
-
git_data
:/aurweb/aur.git
-
${GIT_DATA_DIR}
:/aurweb/aur.git
-
cache:/cache
-
${MARIADB_SOCKET_DIR}:/var/run/mysqld
smartgit
:
volumes
:
-
git_data
:/aurweb/aur.git
-
${GIT_DATA_DIR}
:/aurweb/aur.git
-
cache:/cache
-
smartgit_run:/var/run/smartgit
cgit-php
:
volumes
:
-
${GIT_DATA_DIR}:/aurweb/aur.git
cgit-fastapi
:
volumes
:
-
${GIT_DATA_DIR}:/aurweb/aur.git
php-fpm
:
volumes
:
-
cache:/cache
...
...
@@ -35,7 +43,7 @@ services:
nginx
:
volumes
:
-
git_data
:/aurweb/aur.git
-
${GIT_DATA_DIR}
:/aurweb/aur.git
-
cache:/cache
-
logs:/var/log/nginx
-
smartgit_run:/var/run/smartgit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment