Compare commits

...

2 commits

Author SHA1 Message Date
45de0a56eb Add OxiTraffic 2023-07-28 01:55:19 +02:00
d1ace0e5e1 Update Forgejo 2023-07-28 01:55:06 +02:00
3 changed files with 34 additions and 1 deletions

View file

@ -9,4 +9,4 @@ podman-default-create \
-p 2222:2222 \
-v $container_volumes_dir/data:/data:Z \
--label "io.containers.autoupdate=registry" \
codeberg.org/forgejo/forgejo:1.19
codeberg.org/forgejo/forgejo:1.20

26
containers/oxitraffic.fish Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env fish
set -l container_name oxitraffic
set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/oxitraffic
set -l db_container_name oxitraffic-db
set -l db_container_volumes_dir $container_volumes_dir/db
set -l db_env_file $container_volumes_dir/.postgres.env
podman-default-create \
$db_container_name \
--network traefik \
-v $db_container_volumes_dir:/var/lib/postgresql/data:Z \
-e TZ=Europe/Berlin \
-e PGTZ=Europe/Berlin \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15-alpine
podman-default-create \
$container_name \
--network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \
localhost/$container_name:latest

View file

@ -120,6 +120,9 @@ http:
middlewares:
- remove_www_mo8it_com
service: mo8it_com
to_oxitraffic:
rule: Host(`oxitraffic.mo8it.com`)
service: oxitraffic
services:
nginx:
@ -186,3 +189,7 @@ http:
loadBalancer:
servers:
- url: http://yinghong-massage-de
oxitraffic:
loadBalancer:
servers:
- url: http://oxitraffic