File tree 5 files changed +9
-36
lines changed
5 files changed +9
-36
lines changed Original file line number Diff line number Diff line change 1
- www.pspython.com {
2
- tls {$TLS_EMAIL }
1
+ {$CADDY_HOST} {
2
+ tls {$CADDY_TLS_EMAIL }
3
3
gzip
4
4
root /var/www/nerd_herder
5
5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ CADDY_HOST = :8080
2
+ CADDY_TLS_EMAIL = self_signed
3
+ ACME_AGREE = true
Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ services:
52
52
replicas : 1
53
53
restart_policy :
54
54
condition : on-failure
55
- environment :
56
- - ACME_AGREE=true
55
+ env_file :
56
+ - caddy.staging.env
57
57
depends_on :
58
58
- nerd_herder
59
59
links :
60
60
- nerd_herder
61
61
volumes :
62
62
- ' ./.docker-data/caddy:/root/.caddy'
63
- - ' ./Caddyfile.staging :/etc/Caddyfile'
63
+ - ' ./Caddyfile:/etc/Caddyfile'
64
64
ports :
65
65
- ' 8080:8080'
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ FROM abiosoft/caddy:0.11.0-no-stats
6
6
7
7
COPY --from=frontend /usr/src/nerd_herder/frontend/build /var/www/nerd_herder/
8
8
COPY --from=backend /usr/src/nerd_herder/static /var/www/nerd_herder/static
9
- COPY ./Caddyfile.prod /etc/Caddyfile
9
+ COPY ./Caddyfile /etc/Caddyfile
You can’t perform that action at this time.
0 commit comments