diff --git a/compose.yaml b/compose.yaml index bc53dcf..87edbf3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,11 +1,16 @@ version: '3.8' services: - matrix-to: - container_name: Matrix-to + web: image: domoel/matrix-to:latest ports: - - "5000:5000" - restart: unless-stopped + - "80:80" 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