File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 2828
2929 - community.docker.docker_container :
3030 name : caddy
31- image : caddy
31+ image : " hexletcomponents/devops-example- caddy:{{ version }} "
3232 restart_policy : always
3333 state : started
3434 networks :
Original file line number Diff line number Diff line change 1- localhost
1+ localhost , devops-example.test {
2+ tls internal
23
3- log {
4- format single_field common_log
5- }
4+ handle /images/* {
5+ file_server
6+ root * /app/public
7+ }
68
7- handle /images/* {
8- file_server
9- root * /app/public
10- }
9+ handle {
10+ reverse_proxy app:3000
11+ }
1112
12- handle {
13- reverse_proxy app:3000
13+ log {
14+ format single_field common_log
15+ }
1416}
Original file line number Diff line number Diff line change 11FROM caddy
22
3- COPY services/caddy/Caddyfile /etc/caddy/Caddyfile
3+ COPY services/caddy/Caddyfile /etc/caddy/
44COPY . /app
You can’t perform that action at this time.
0 commit comments