Skip to content
Discussion options

You must be logged in to vote

APP_VERSION is not a Laravel/runtime setting inside Snipe-IT. In the Docker Compose setup it is only used for image-tag substitution:

image: snipe/snipe-it:${APP_VERSION:-latest}

So it controls which Docker image tag Compose pulls/runs when you use that compose file. If it is empty, Compose falls back to latest.

Once the container is running, the app version shown by Snipe-IT comes from the application code baked into the image, for example config/version.php. Changing APP_VERSION in .env will not change the displayed version or upgrade/downgrade the running app by itself.

Practical rule:

  • using the provided docker-compose.yml: set APP_VERSION=8.1.17 or whatever tag you want, then docker …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pugglewuggle
Comment options

Answer selected by Pugglewuggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants