patchman icon indicating copy to clipboard operation
patchman copied to clipboard

Add Docker Container

Open RicardoJeronimo opened this issue 7 months ago • 4 comments

Adding:

  • Dockerfile (building from source)
  • Docker entrypoint script
  • Docker Compose example
  • GitHub Action to build container

The entrypoint script allows environment variables to be used in order to configure settings in local_settings.py, choose database backends, Memcached server and Redis broker. If a Redis broker is configured, the script asynchronously starts Celery alongside Apache httpd.

RicardoJeronimo avatar Jun 23 '25 10:06 RicardoJeronimo

hello, thx for this got question about how it work in my case then I docker-compose up -d system getting up and looks well but after restart containers patchman cont become not able to connect radis (Error 111 connecting to 127.0.0.1:6379. Connection refused), what can it be? thank you

zkiroel avatar Aug 24 '25 11:08 zkiroel

Hey, are you using the default docker-compose.yaml, or have you made changes to it?

RicardoJeronimo avatar Aug 25 '25 09:08 RicardoJeronimo

Hey, are you using the default docker-compose.yaml, or have you made changes to it?

default one

zkiroel avatar Aug 25 '25 10:08 zkiroel

Since this PR hasn't been accepted, you shouldn't be using the furlongm/patchman:latest image, as it wasn't built using this Dockerfile. Ideally you'd be building the image yourself but you can test it by using ricardojeronim0/patchman:main, just be aware I don't update it often.

RicardoJeronimo avatar Aug 25 '25 12:08 RicardoJeronimo