Initial Helpomatica source.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
helpomatica:
|
||||
build: .
|
||||
image: helpomatica:local
|
||||
ports:
|
||||
- "8010:8010"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
CURSOR_MODEL: ${CURSOR_MODEL:-auto}
|
||||
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-admin}
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- agent-tmp:/tmp/helpomatica-agent
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"python",
|
||||
"-c",
|
||||
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8010/', timeout=4)",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
|
||||
volumes:
|
||||
agent-tmp:
|
||||
Reference in New Issue
Block a user