chore(traefik): move GTS traefik config to traefik
This commit is contained in:
parent
9a22c7c7dc
commit
aa39cedd8b
3 changed files with 3 additions and 5 deletions
|
@ -4,11 +4,6 @@ set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
# Move the dynamic traefik config to the shared volume
|
|
||||||
if [ -f /flow/gts/tmp/traefik_gotosocial.yaml ]; then
|
|
||||||
mv /flow/gts/tmp/traefik_gotosocial.yaml {{ .Traefik.SharedMountPoint }}/dynamic/traefik_gotosocial.yaml
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p {{ .GoToSocial.DataContainerDirectory }}/database
|
mkdir -p {{ .GoToSocial.DataContainerDirectory }}/database
|
||||||
|
|
||||||
exec gotosocial --config-path /flow/gts/config/config.yaml server start
|
exec gotosocial --config-path /flow/gts/config/config.yaml server start
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
|
# syntax=docker/dockerfile:1
|
||||||
FROM traefik:{{ .Traefik.Version }}
|
FROM traefik:{{ .Traefik.Version }}
|
||||||
|
|
||||||
ADD traefik.yaml /flow/traefik/
|
ADD traefik.yaml /flow/traefik/
|
||||||
|
|
||||||
ADD dynamic_landing_page.yaml /tmp/dynamic_landing_page.yaml
|
ADD dynamic_landing_page.yaml /tmp/dynamic_landing_page.yaml
|
||||||
|
|
||||||
|
ADD dynamic_gotosocial.yaml /tmp/dynamic_gotosocial.yaml
|
||||||
|
|
||||||
ADD entrypoint.sh /
|
ADD entrypoint.sh /
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue