Skip to content

Commit

Permalink
Added compose for Caddy reverse proxy and server container
Browse files Browse the repository at this point in the history
  • Loading branch information
b-dont committed Jan 10, 2024
1 parent 12c3647 commit c9476aa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Containerfile

This file was deleted.

27 changes: 27 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 1,27 @@
services:

caddy:
image: caddy:latest
restart: unless-stopped
ports:
- "1111:80"
- "8787:443"
- "8383:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config

static-web-server:
restart: unless-stopped
depends_on:
- caddy
build:
dockerfile: config/server.Containerfile
ports:
- "8484:443"
- "8585:80"

volumes:
caddy_data:
caddy_config:

0 comments on commit c9476aa

Please sign in to comment.