Skip to content

Commit

Permalink
Host backend on primary domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Jan 9, 2024
1 parent 445b0fd commit bd619eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
image_filename="$(basename "${{ env.IMAGE_PATH }}")"
cleanup() {
cd ~
echo "Cleaning up"
rm -f "$image_filename"
}
Expand Down
17 changes: 3 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,9 @@ services:
depends_on:
- app

volumes:
- ./default.vcl:/etc/varnish/default.vcl:ro
- ./data/cache:/var/lib/varnish

https:
image: caddy:alpine
restart: unless-stopped

depends_on:
- cache

ports:
- ${LISTEN:-443}:443
- ${LISTEN:-80}:80

volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./cert:/cert:ro
- ./default.vcl:/etc/varnish/default.vcl:ro
- ./data/cache:/var/lib/varnish

0 comments on commit bd619eb

Please sign in to comment.