Compare commits
3 commits
27c9ba29cc
...
72f703b5f9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
72f703b5f9 | ||
![]() |
93e97f11ae | ||
![]() |
cb8ce2a2fb |
3 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
[Unit]
|
||||
Description=Reverse proxy
|
||||
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
||||
|
@ -11,8 +10,9 @@ WantedBy=default.target
|
|||
[Container]
|
||||
Image=caddy.build
|
||||
ContainerName=caddy
|
||||
HostName=caddy
|
||||
|
||||
Network=reverse-proxy.network
|
||||
HostName=caddy
|
||||
PublishPort=80:80
|
||||
PublishPort=443:443
|
||||
PublishPort=443:443/udp
|
||||
|
|
1
quadlets/caddy/reverse-proxy.network
Normal file
1
quadlets/caddy/reverse-proxy.network
Normal file
|
@ -0,0 +1 @@
|
|||
[Network]
|
|
@ -24,16 +24,12 @@ Network=leantime.network
|
|||
HostName=leantime
|
||||
PublishPort=8080:8080
|
||||
|
||||
Volume=leantime-public_userfiles:/var/www/html/public/userfiles
|
||||
Volume=leantime-public-userfiles:/var/www/html/public/userfiles
|
||||
Volume=leantime-userfiles:/var/www/html/userfiles
|
||||
Volume=leantime-plugins:/var/www/html/app/Plugins
|
||||
Volume=leantime-logs:/var/www/html/storage/logs
|
||||
|
||||
Environment=LEAN_DB_HOST=leantime-mysql
|
||||
Environment=LEAN_DB_USER=leantime
|
||||
Environment=LEAN_DB_DATABASE=leantime
|
||||
Environment=LEAN_DB_PORT='3306'
|
||||
Environment=LEAN_SITENAME='Leantime'
|
||||
EnvironmentFile=leantime.env
|
||||
|
||||
Secret=leantime-session-password,type=env,target=LEAN_SESSION_PASSWORD
|
||||
Secret=leantime-db-password,type=env,target=LEAN_DB_PASSWORD
|
||||
|
|
Loading…
Add table
Reference in a new issue