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 # 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 # Replace :80 with your domain (e.g. dsa-tutoring.example.com) for
# automatic HTTPS via Let's Encrypt. # automatic HTTPS via Let's Encrypt.
# #
# Run `python build.py` first to generate the public/ directory. # Run `python build.py` first to generate the public/ directory.
dsa-tutoring.bchen.dev { :8080 {
root * /srv/public root * /srv/public
encode gzip encode gzip
file_server file_server

View File

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