diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 99a5f9d..cd02460 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1,3 +1,7 @@ git.dayl.in { - reverse_proxy gitea:3000 + reverse_proxy 127.0.0.1:3000 +} + +resunim.dayl.in { + reverse_proxy 127.0.0.1:8080 } diff --git a/docker-compose.yml b/docker-compose.yml index 30a85e5..df3a2ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,5 @@ version: "3" -networks: - gitea: - external: false - services: gitea: image: gitea/gitea:1.18.3 @@ -12,32 +8,30 @@ services: - USER_UID=1001 - USER_GID=1001 restart: always - networks: - - gitea volumes: - ./gitea:/data - /home/git/.ssh/:/data/git/.ssh - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - - "3000:3000" - - "222:22" + - "127.0.0.1:3000:3000" + - "127.0.0.0:222:22" - "127.0.0.1:2222:22" caddy: image: caddy:2.5.2-alpine restart: unless-stopped container_name: caddy - networks: - - gitea - ports: - - "80:80" - - "443:443" - - "443:443/udp" + # ports: + # - "80:80" + # - "443:443" + # - "443:443/udp" + # - "127.0.0.1:8080:8080" volumes: - ./caddy/Caddyfile:/etc/caddy/Caddyfile - caddy_data:/data - caddy_config:/config + network_mode: host soft-serve: image: charmcli/soft-serve:v0.4.4