mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: add Caddy config to ServiceSpec, load x-caddy to it
This commit is contained in:
@@ -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