diff --git a/env-gitea b/env-gitea index 623d815..a14ca02 100644 --- a/env-gitea +++ b/env-gitea @@ -1,7 +1,7 @@ GITEA__service__DISABLE_REGISTRATION=true GITEA__mailer__ENABLED=true GITEA__database__DB_TYPE=postgres -GITEA__database__HOST=10.0.2.2:5432 +GITEA__database__HOST=postgresql:5432 GITEA__database__NAME=gitea GITEA__database__USER=gitea_user GITEA__database__PASSWD=secret diff --git a/env-stirling-pdf b/env-stirling-pdf deleted file mode 100644 index 6e5cc85..0000000 --- a/env-stirling-pdf +++ /dev/null @@ -1,4 +0,0 @@ -DOCKER_ENABLE_SECURITY=true -SECURITY_ENABLE_LOGIN=true -SECURITY_INITIALLOGIN_USERNAME=eliribble -SECURITY_INITIALLOGIN_PASSWORD=secret diff --git a/gitea.sh b/gitea.sh index 9c09128..691e6f5 100755 --- a/gitea.sh +++ b/gitea.sh @@ -5,10 +5,11 @@ podman run \ -d \ --env-file /opt/podman/env-gitea \ --name gitea \ - --net slirp4netns:allow_host_loopback=true \ + --net slirp4netns:port_handler=slirp4netns \ -p 127.0.0.1:10110:3000 \ -p 127.0.0.1:2222:22 \ - -v /mnt/slab1/gitea:/data \ + --restart unless-stopped \ + -v gitea-data:/data \ -v /etc/timezone:/etc/timezone:ro \ -v /etc/localtime:/etc/localtime:ro \ docker.io/gitea/gitea:latest diff --git a/stirling-pdf.sh b/stirling-pdf.sh deleted file mode 100755 index 3c03349..0000000 --- a/stirling-pdf.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -podman run -d \ - --env-file=/opt/podman/env-stirling-pdf \ - -p 10240:8080 \ - -v /mnt/slab1/stirling-pdf/training-data:/usr/share/tessdata \ - -v /mnt/slab1/stirling-pdf/configs:/configs \ - -v /var/log/stirling-pdf:/logs \ - --name stirling-pdf \ - docker.io/frooodle/s-pdf:latest - -# Can also add these for customisation but are not required -# -v /location/of/customFiles:/customFiles \