Compare commits

..

4 Commits

4 changed files with 64 additions and 47 deletions

24
Caddyfile Normal file
View File

@@ -0,0 +1,24 @@
{
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
}
notify.coldlightalchemist.com {
reverse_proxy 10.26.48.3:8082
}
nc.coldlightalchemist.com {
reverse_proxy 10.26.48.4:11000
}
recipes.coldlightalchemist.com:8443 {
reverse_proxy 10.26.48.3:8083
}

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,33 +1,38 @@
version: "3" version: "3"
services: services:
velocity: caddy:
image: eclipse-temurin:21 build: "./builds/caddy/"
restart: always container_name: caddy
restart: unless-stopped
ports: ports:
- "25565:25565" - "80:80"
- "19131:19132/tcp" - "443:443"
- "19131:19132/udp" - "8443:8443"
env_file: .caddy.env
volumes: volumes:
- "/velocity:/mnt" - "/root/infrastructure-compose/Caddyfile:/etc/caddy/Caddyfile"
working_dir: "/mnt" - "caddy_data:/data"
command: ["java", "-Xms64m", "-Xmx1024m", "-jar", "/mnt/velocity.jar"] - "caddy_config:/config"
meshcentral: # velocity:
image: typhonragewind/meshcentral:latest # image: eclipse-temurin:21
restart: always # restart: always
ports: # ports:
- "8086:443" # - "25565:25565"
env_file: .meshcentral.env # - "19131:19132/tcp"
volumes: # - "19131:19132/udp"
- "/meshcentral/data:/opt/meshcentral/meshcentral-data" # volumes:
- "/meshcentral/user_files:/opt/meshcentral/meshcentral-files" # - "/velocity:/mnt"
- "/meshcentral_backups:/opt/meshcentral/meshcentral-backups" # working_dir: "/mnt"
bedrockconnect: # command: ["java", "-Xms64m", "-Xmx1024m", "-jar", "/mnt/velocity.jar"]
image: pugmatt/bedrock-connect # bedrockconnect:
restart: always # image: pugmatt/bedrock-connect:latest
ports: # restart: always
- "19132:19132/udp" # ports:
env_file: .bedrockconnect.env # - "19132:19132/udp"
volumes: # env_file: .bedrockconnect.env
- "/root/bedrockconnect:/mnt" # volumes:
# - "/root/bedrockconnect:/mnt"
volumes:
caddy_data:
caddy_config:

View File

@@ -1,25 +1,6 @@
version: "3" version: "3"
services: 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: gitea:
image: gitea/gitea:1.25.3 image: gitea/gitea:1.25.3
container_name: gitea container_name: gitea