Thanks for your great work! I tried to integrate planka (see Twenty CRM 1.0.2 - #2 by transocean) using the generator and it worked but there were some minor things:
-
Please allow to also open
.yml
files, not only.yaml
. -
Maybe it’s just style but I think using
\
line breaks to be able to see all parameters at a glance in thepodman run
command makes sense.
ExecStart=/usr/bin/podman run --conmon-pidfile %t/postgres-app.pid \
--cidfile %t/postgres-app.ctr-id --cgroups=no-conmon \
--pod-id-file %t/planka.pod-id --replace -d --name postgres-app \
--volume db-data:/var/lib/postgresql/data \
--env postgres.env \
${POSTGRES_IMAGE}
instead of
ExecStart=/usr/bin/podman run --conmon-pidfile %t/postgres-app.pid --cidfile %t/postgres-app.ctr-id --cgroups=no-conmon --pod-id-file %t/planka.pod-id --replace -d --name postgres-app --volume db-data:/var/lib/postgresql/data --env postgres.env ${POSTGRES_IMAGE}
There’s a database.env created, which makes no sense as postgres is used. It contains:
MARIADB_DATABASE=planka
MARIADB_PASSWORD=c1adfd2672b205cc
MARIADB_ROOT_PASSWORD=72965f909a203636
MARIADB_USER=planka
-
At the end of the
podman run
statement there’s a wrong option:--env postgres.env
but it should be--env-file postgres.env
-
Add
:Z
or:z
to the volume statement. If the volume is shared (used in more containers) it’s lower case:z