From 6f4ede5c5f91ac1c4c1e35e211ac229c2189fb84 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Thu, 27 Jan 2022 21:58:22 +0100 Subject: [PATCH 1/2] Fix gitea data dir --- pottwal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pottwal.yml b/pottwal.yml index 9164937..58d3c61 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -61,7 +61,7 @@ USER_UID=1000 USER_GID=1000 volumes: - - "/srv/docker/gitea:/data:rw" + - "/srv/data/gitea:/data:rw" - name: Setup proxy site gitea.n39.eu include_role: From 85f2d98704f8de890309f65c8c419653bf4ebeb5 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Thu, 27 Jan 2022 21:58:32 +0100 Subject: [PATCH 2/2] Allow external access to gitea port Until we have a local reverse proxy, ports must be made available to external access --- pottwal.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pottwal.yml b/pottwal.yml index 58d3c61..41a96e7 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -48,7 +48,8 @@ restart_policy: unless-stopped detach: yes ports: - - 127.0.0.1:{{ gitea_host_port }}:3000 +# - 127.0.0.1:{{ gitea_host_port }}:3000 + - "{{ gitea_host_port }}:3000" - 2222:2222 env: APP_NAME="Netz39 Gitea"