mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 00:20:50 +00:00
Docker mix and match setup
Rewrite of the docker setup. Now uses fig to manage containers and container linkage. The base is a block based mix and match, which will give you the possibility to easily test all configurations.
This commit is contained in:
parent
2886eb76b6
commit
d1a2228f1c
25 changed files with 373 additions and 40 deletions
12
docker/templates/init_gogs.sh.tpl
Normal file
12
docker/templates/init_gogs.sh.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -d "$DIRECTORY" ]; then
|
||||
mkdir -p $GOGS_CUSTOM_CONF_PATH
|
||||
|
||||
echo "
|
||||
{{ CONFIG }}
|
||||
" >> $GOGS_CUSTOM_CONF
|
||||
|
||||
fi
|
||||
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue