build for local server and deployment script
This commit is contained in:
parent
a7a8eed01e
commit
5e52e096a2
3 changed files with 30 additions and 0 deletions
18
docker-compose.local.yml
Normal file
18
docker-compose.local.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
version: "3.6"
|
||||
|
||||
services:
|
||||
webui:
|
||||
image: webui:local
|
||||
ports:
|
||||
- "8080:80"
|
||||
stop_signal: SIGQUIT
|
||||
deploy:
|
||||
replicas: 1
|
||||
update_config:
|
||||
order: start-first
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "localhost:80/health"]
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
Loading…
Add table
Add a link
Reference in a new issue