Skip to content
Permalink
Browse files

Specify app.url via environment variable

  • Loading branch information...
lovett committed Jun 25, 2019
1 parent ff16759 commit 960b7c905205201d35c59b49a4aa913218be9fc8
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansible/templates/systemd-service.j2
@@ -2,7 +2,7 @@
Description={{ application_name|capitalize }}

[Service]
ExecStart=/usr/bin/podman run --rm --name {{ application_name }} --env MAIL_HOST={{ mail_host }} --env MAIL_USERNAME={{ mail_username }} --env MAIL_PASSWORD={{ mail_password }} --env MAIL_FROM_ADDRESS={{ mail_from_address }} --env MAIL_FROM_NAME={{ mail_from_name }} -v {{ application_name }}_data:/srv/www/storage --publish 127.0.0.1:8102:80 {{ application_name }}
ExecStart=/usr/bin/podman run --rm --name {{ application_name }} --env MAIL_HOST={{ mail_host }} --env MAIL_USERNAME={{ mail_username }} --env MAIL_PASSWORD={{ mail_password }} --env MAIL_FROM_ADDRESS={{ mail_from_address }} --env MAIL_FROM_NAME={{ mail_from_name }} --env APP_URL={{ app_url }} -v {{ application_name }}_data:/srv/www/storage --publish 127.0.0.1:8102:80 {{ application_name }}


ExecStop=/usr/bin/podman stop -t 10 {{ application_name }}

0 comments on commit 960b7c9

Please sign in to comment.
You can’t perform that action at this time.