Configure docker-compose for vloser deployment (port 8475, t3_proxy, appdata)
This commit is contained in:
1 parent
a648a59c0f
commit
c1129017d0
1 file changed
+8
-2
+8
-2
@@ -5,16 +5,22 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: thread-ripper
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t3_proxy
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "8475:5000"
|
||||
environment:
|
||||
- PORT=5000
|
||||
- DATA_DIR=/app/data
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- /home/chrisf/docker/appdata/thread-ripper:/app/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -c 'import urllib.request; urllib.request.urlopen(\"http://localhost:5000/api/health\")'"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
|
||||
networks:
|
||||
t3_proxy:
|
||||
external: true
|
||||
Reference in new issue
Block a user