Skip to content

Commit

Permalink
fix: correct env path
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Dec 29, 2024
1 parent 23aca3b commit 364bea1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/coolify-app.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TimeoutStopSec=70
ExecStartPre=/bin/mkdir -p tmp
ExecStartPre=/bin/rm -f %t/coolify-app.pid %t/coolify-app.ctr-id
ExecStartPre=-runagent discover-smarthost
ExecStart=/usr/bin/podman run --conmon-pidfile %t/coolify-app.pid --cidfile %t/coolify-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name coolify-app --env coolify.env --env coolify-db.env \
ExecStart=/usr/bin/podman run --conmon-pidfile %t/coolify-app.pid --cidfile %t/coolify-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name coolify-app --env-file coolify.env --env-file coolify-db.env \
--volume coolify-ssh:/var/www/html/storage/app/ssh \
--volume coolify-applications:/var/www/html/storage/app/applications \
--volume coolify-databases:/var/www/html/storage/app/databases \
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/postgres-app.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TimeoutStopSec=70
ExecStartPre=/bin/mkdir -p tmp
ExecStartPre=/bin/rm -f %t/postgres-app.pid %t/postgres-app.ctr-id
ExecStartPre=-runagent discover-smarthost
ExecStart=/usr/bin/podman run --conmon-pidfile %t/postgres-app.pid --cidfile %t/postgres-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name postgres-app --env database.env ${POSTGRES_IMAGE}
ExecStart=/usr/bin/podman run --conmon-pidfile %t/postgres-app.pid --cidfile %t/postgres-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name postgres-app --env-file database.env ${POSTGRES_IMAGE}
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/postgres-app.ctr-id -t 10
ExecReload=/usr/bin/podman kill -s HUP postgres-app
SyslogIdentifier=%u
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/redis-app.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TimeoutStopSec=70
ExecStartPre=/bin/mkdir -p tmp
ExecStartPre=/bin/rm -f %t/redis-app.pid %t/redis-app.ctr-id
ExecStartPre=-runagent discover-smarthost
ExecStart=/usr/bin/podman run --conmon-pidfile %t/redis-app.pid --cidfile %t/redis-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name redis-app --env redis.env ${REDIS_IMAGE}
ExecStart=/usr/bin/podman run --conmon-pidfile %t/redis-app.pid --cidfile %t/redis-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name redis-app --env-file redis.env ${REDIS_IMAGE}
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/redis-app.ctr-id -t 10
ExecReload=/usr/bin/podman kill -s HUP redis-app
SyslogIdentifier=%u
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/soketi-app.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TimeoutStopSec=70
ExecStartPre=/bin/mkdir -p tmp
ExecStartPre=/bin/rm -f %t/soketi-app.pid %t/soketi-app.ctr-id
ExecStartPre=-runagent discover-smarthost
ExecStart=/usr/bin/podman run --conmon-pidfile %t/soketi-app.pid --cidfile %t/soketi-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name soketi-app --env soketi.env --volume coolify-ssh:/var/www/html/storage/app/ssh:Z ${COOLIFY_REALTIME_IMAGE}
ExecStart=/usr/bin/podman run --conmon-pidfile %t/soketi-app.pid --cidfile %t/soketi-app.ctr-id --cgroups=no-conmon --pod-id-file %t/coolify.pod-id --replace -d --name soketi-app --env-file soketi.env --volume coolify-ssh:/var/www/html/storage/app/ssh:Z ${COOLIFY_REALTIME_IMAGE}
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/soketi-app.ctr-id -t 10
ExecReload=/usr/bin/podman kill -s HUP soketi-app
SyslogIdentifier=%u
Expand Down

0 comments on commit 364bea1

Please sign in to comment.