Automate immutable production deployments
This commit is contained in:
@@ -7,5 +7,7 @@ RequiresMountsFor=/srv/watermaps-data
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/watermaps
|
||||
ExecStart=/opt/watermaps/deploy/scripts/renew-certificate.sh
|
||||
WorkingDirectory=/opt/watermaps/current
|
||||
Environment=WATERMAPS_ENV_FILE=/opt/watermaps/deploy/.env.production
|
||||
Environment=WATERMAPS_IMAGES_ENV_FILE=/opt/watermaps/deploy/.env.images
|
||||
ExecStart=/opt/watermaps/current/deploy/scripts/renew-certificate.sh
|
||||
|
||||
Reference in New Issue
Block a user