feat: add /files/{file} GET and DELETE methods
This commit is contained in:
parent
7ca416e43e
commit
4a4a0a2149
7 changed files with 252 additions and 60 deletions
|
|
@ -10,7 +10,18 @@ services:
|
|||
- SFU_FILES_DIR=./files
|
||||
volumes:
|
||||
- ./:/opt/sfu
|
||||
|
||||
healthcheck:
|
||||
test: "curl http://localhost:$SFU_PORT/health"
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 3
|
||||
start_period: 1s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: "200M"
|
||||
restart: always
|
||||
proxy:
|
||||
image: caddy
|
||||
volumes:
|
||||
|
|
@ -18,3 +29,6 @@ services:
|
|||
- ./design:/usr/share/caddy/www/design
|
||||
ports:
|
||||
- '8080:80'
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue