Compare commits
2 Commits
dc70df7014
...
5879f30582
Author | SHA1 | Date |
---|---|---|
|
5879f30582 | |
|
ee5551662a |
|
@ -1,7 +1,7 @@
|
|||
GITEA__service__DISABLE_REGISTRATION=true
|
||||
GITEA__mailer__ENABLED=true
|
||||
GITEA__database__DB_TYPE=postgres
|
||||
GITEA__database__HOST=postgresql:5432
|
||||
GITEA__database__HOST=10.0.2.2:5432
|
||||
GITEA__database__NAME=gitea
|
||||
GITEA__database__USER=gitea_user
|
||||
GITEA__database__PASSWD=secret
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
DOCKER_ENABLE_SECURITY=true
|
||||
SECURITY_ENABLE_LOGIN=true
|
||||
SECURITY_INITIALLOGIN_USERNAME=eliribble
|
||||
SECURITY_INITIALLOGIN_PASSWORD=secret
|
5
gitea.sh
5
gitea.sh
|
@ -5,11 +5,10 @@ podman run \
|
|||
-d \
|
||||
--env-file /opt/podman/env-gitea \
|
||||
--name gitea \
|
||||
--net slirp4netns:port_handler=slirp4netns \
|
||||
--net slirp4netns:allow_host_loopback=true \
|
||||
-p 127.0.0.1:10110:3000 \
|
||||
-p 127.0.0.1:2222:22 \
|
||||
--restart unless-stopped \
|
||||
-v gitea-data:/data \
|
||||
-v /mnt/slab1/gitea:/data \
|
||||
-v /etc/timezone:/etc/timezone:ro \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
docker.io/gitea/gitea:latest
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/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 \
|
Loading…
Reference in New Issue