Skip to content

Commit

Permalink
fix: use IMAGE_TAG in container environment so that correct image is …
Browse files Browse the repository at this point in the history
…pulled
  • Loading branch information
arcanemachine committed Oct 7, 2023
1 parent 523fcb0 commit c52f106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/scripts/systemd-container-service-file-generate
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ WorkingDirectory=$working_directory
# ENVIRONMENT #
## docker
Environment=COMPOSE_PROJECT_NAME=\"${COMPOSE_PROJECT_NAME:-$service_name}\"
Environment=IMAGE_TAG=\"${IMAGE_TAG:-$(uname -m)}\"
# fix container timeout issues caused by slow CPU and/or RAM
Environment=DOCKER_CLIENT_TIMEOUT=180
Expand Down

0 comments on commit c52f106

Please sign in to comment.