Add Doris Kitchen household recipe app
This commit is contained in:
30
home/doris-kitchen/docker-compose.yaml
Normal file
30
home/doris-kitchen/docker-compose.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
doris-kitchen:
|
||||
container_name: doris-kitchen
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8092:8092"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
DORIS_KITCHEN_HOST: 0.0.0.0
|
||||
DORIS_KITCHEN_PORT: 8092
|
||||
networks:
|
||||
- doris-kitchen-net
|
||||
volumes:
|
||||
- /opt/doris-kitchen/data:/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8092/api/health || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
networks:
|
||||
doris-kitchen-net:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user