Clean push: Removed heavy files & added only latest snapshot
This commit is contained in:
23
qt_app_pyside1/docker-compose.yml
Normal file
23
qt_app_pyside1/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
qt_app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: qt-app-x11:latest
|
||||
environment:
|
||||
- DISPLAY=:99
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
ports:
|
||||
- "8501:8501"
|
||||
command: ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "ps aux | grep -q run_app.py"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2g
|
||||
Reference in New Issue
Block a user