mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: add Caddy config to ServiceSpec, load x-caddy to it
This commit is contained in:
1 parent
ec73f9ecd8
commit
12c07812a2
8 files changed
+341
-9
No files matched your search
@@ -31,6 +31,18 @@ services:
|
||||
target: /tmpfs
|
||||
tmpfs:
|
||||
size: 10485760
|
||||
x-ports:
|
||||
- test.example.com:80/https
|
||||
- 8000/http
|
||||
- 5000:3000@host
|
||||
|
||||
test-caddy-config:
|
||||
image: myapp:1.2.3
|
||||
# x-ports and x-caddy are mutually exclusive.
|
||||
x-caddy: |
|
||||
test-caddy-config.example.com {
|
||||
reverse_proxy {{ upstreams 80 }}
|
||||
}
|
||||
|
||||
volumes:
|
||||
data1:
|
||||
|
||||
Reference in new issue
Block a user