dadatuputi/bitwarden_gcloud

Move container logic from `docker-compose.yml` to `Dockerfile`

dadatuputi opened this issue · 4 comments

Much of the command mess in the compose file should be in their own Dockerfiles that extends the base image. Easily done with caddy as of 837c1fc, however watchtower won't pull updates to the base image (see containrrr/watchtower#1401).

Alternatives to watchtower, cron?

  • It would require a simple script and an extra step during installation.
  • Existing users who blindly git pull will miss that step

This seems like the most sensible approach, although clunky, until watchtower or some other process is capable of rebuilding images when base images are updated.

#58 is merged, now just need to split countryblock into its own project.

Moved 3 containers to their own project/repo:

Each has Github actions in place that will

  • Build and publish the docker image on each push or merged pull request
  • Check the base image daily for a new version, and rebuild and publish when there is a new base image version

This should keep these containers up to date, and with watchtower running, keep everything perpetually updated.