Skip to content

A self-hosted media server and file management system

use default caddy

aminnausin80ddb4196000
diff --git a/docker-compose.yaml b/docker-compose.yaml
index f3f94442..a79e5e59 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -88,7 +88,7 @@ services:
healthcheck:
test: ['CMD', 'healthcheck-schedule']
caddy:
- image: 'lucaslorentz/caddy-docker-proxy:ci-alpine'
+ image: 'caddy:2.9.1-alpine'
container_name: caddy
ports:
- 80:80
@@ -96,6 +96,7 @@ services:
- 443:443/udp
volumes:
- ./docker/etc/caddy/Caddyfile:/etc/caddy/Caddyfile
+ - /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
environment:
- CADDY_INGRESS_NETWORKS=proxy_network
diff --git a/startDocker.bat b/startDocker.bat
index b0bb282c..cb974849 100644
--- a/startDocker.bat
+++ b/startDocker.bat
@@ -17,7 +17,6 @@ if not exist "docker/etc/nginx/conf.d/default.conf" (
exit /b 1
) else (
echo Found nginx config
- echo Make sure to replace 'app.test' with your website URL in 'docker/etc/nginx/conf.d/default.conf' if you have one
)
:: Ensure caddyfile exists
@@ -26,10 +25,10 @@ if not exist "docker/etc/caddy/caddyfile" (
echo Please download this file before running Docker.
pause
exit 1
-else
+) else (
echo Found caddy config
echo Make sure to replace 'app.test' with your website URL in '/docker/etc/caddy/caddyfile' if you have one
-fi
+)
:: Ensure .env.docker exists -> Holds default environment variables
if not exist "docker/.env.docker" (
@@ -58,4 +57,4 @@ if not exist "data" (
)
echo Setup complete
-docker-compose up
+docker-compose up -d
diff --git a/startDocker.sh b/startDocker.sh
index b30626c2..e737328d 100644
--- a/startDocker.sh
+++ b/startDocker.sh
@@ -61,4 +61,4 @@ else
fi
echo "Setup complete"
-docker-compose up
+docker-compose up -d