Added resources and health check sections to Docker template

This commit is contained in:
Adam Parler 2026-05-18 18:02:47 -04:00
parent 621e86af7e
commit 2cee1b9d7c

View file

@ -15,6 +15,12 @@ services:
- stuff - stuff
secrets: secrets:
- db_password - db_password
deploy:
resources:
limits:
memory: 1000M
healthcheck:
test: command
depends_on: depends_on:
- db - db
@ -24,10 +30,10 @@ services:
restart: always restart: always
environment: environment:
- STATUS=running - STATUS=running
networks:
- stuff
volumes: volumes:
- ./mysql:/var/lib/mysql - ./mysql:/var/lib/mysql
networks:
- stuff
secrets: secrets:
- db_root_password - db_root_password
- db_password - db_password