Map to local port 8080 for the file server
All checks were successful
Deploy to birb co. production / deploy (push) Successful in 7s

This commit is contained in:
2026-02-25 16:45:09 -08:00
parent 427e0bf72a
commit 0b2a2e5cd0
2 changed files with 3 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
# DSA Tutoring microsite
#
# For local use, serves on port 80.
# For local use, serves on port 8080
# Replace :80 with your domain (e.g. dsa-tutoring.example.com) for
# automatic HTTPS via Let's Encrypt.
#
# Run `python build.py` first to generate the public/ directory.
dsa-tutoring.bchen.dev {
:8080 {
root * /srv/public
encode gzip
file_server

View File

@@ -12,10 +12,7 @@ services:
builder:
condition: service_completed_successfully
ports:
- "80:80"
- "443:443"
- "8080:8080" # test port
- "443:443/udp"
- "8080:8080"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./public:/srv/public:ro