Update README.md
This commit is contained in:
@@ -90,20 +90,11 @@ You can discuss matrix.to in
|
|||||||
### Build with docker compose
|
### Build with docker compose
|
||||||
|
|
||||||
```
|
```
|
||||||
version: '3.8'
|
matrix-to:
|
||||||
|
container_name: Matrix-to
|
||||||
services:
|
|
||||||
web:
|
|
||||||
image: domoel/matrix-to:latest
|
image: domoel/matrix-to:latest
|
||||||
ports:
|
ports:
|
||||||
- "1336:80"
|
- "1336:80"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- 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