Map to local port 8080 for the file server
All checks were successful
Deploy to birb co. production / deploy (push) Successful in 7s
All checks were successful
Deploy to birb co. production / deploy (push) Successful in 7s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user