Compare commits

...

3 Commits

4 changed files with 36 additions and 22 deletions

12
Caddyfile Normal file
View File

@@ -0,0 +1,12 @@
{
email {$ACME_EMAIL}
acme_dns cloudflare {$CLOUDFLARE_API_TOKEN}
}
httptest.coldlightalchemist.com {
respond "Hello World"
}
git.coldlightalchemist.com {
reverse_proxy 10.26.48.3:8081
}

7
builds/caddy/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM caddy:builder AS builder
RUN caddy-builder github.com/caddy-dns/cloudflare
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

View File

@@ -1,6 +1,18 @@
version: "3"
services:
caddy:
build: "./builds/caddy/"
container_name: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
env_file: .caddy.env
volumes:
- "/root/infrastructure-compose/Caddyfile:/etc/caddy/Caddyfile"
- "caddy_data:/data"
- "caddy_config:/config"
velocity:
image: eclipse-temurin:21
restart: always
@@ -21,13 +33,15 @@ services:
volumes:
- "/meshcentral/data:/opt/meshcentral/meshcentral-data"
- "/meshcentral/user_files:/opt/meshcentral/meshcentral-files"
- "/meshcentral_backups:/opt/meshcentral/meshcentral-backups"
- "/backup/meshcentral:/opt/meshcentral/meshcentral-backups"
bedrockconnect:
image: pugmatt/bedrock-connect
image: pugmatt/bedrock-connect:latest
restart: always
ports:
- "19132:19132/udp"
env_file: .bedrockconnect.env
volumes:
- "/root/bedrockconnect:/mnt"
volumes:
caddy_data:
caddy_config:

View File

@@ -1,25 +1,6 @@
version: "3"
services:
httpdtest:
image: httpd:latest
container_name: http-test
restart: always
ports:
- "8080:80"
volumes:
- "/var/www/html:/usr/local/apache2/htdocs"
grocy:
image: lscr.io/linuxserver/grocy:latest
container_name: grocy
environment:
- PUID=10000
- PGID=10000
- TZ=America/New_York
volumes:
- /grocy:/config
ports:
- 9283:80
gitea:
image: gitea/gitea:1.25.3
container_name: gitea