Update compose.yaml
This commit is contained in:
+10
-5
@@ -1,11 +1,16 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
matrix-to:
|
web:
|
||||||
container_name: Matrix-to
|
|
||||||
image: domoel/matrix-to:latest
|
image: domoel/matrix-to:latest
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "1336:80"
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
environment:
|
||||||
- PORT=5000
|
- NODE_ENV=production
|
||||||
|
volumes:
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "--fail", "http://localhost:80"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user