diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..05db228 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.8' + +services: + budget-app: + image: ghcr.io/nmemmert/budget:latest + ports: + - "3000:3000" + environment: + - NODE_ENV=production + restart: unless-stopped + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:3000"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s \ No newline at end of file