[website] Add variable to specify image tag

This commit is contained in:
JuliusFreudenberger 2023-08-06 19:55:41 +02:00
parent dd5dde3d20
commit 3d379ae5ef

View file

@ -1,7 +1,7 @@
version: "3"
services:
website:
image: harbor.jfreudenberger.de:8443/website/app:latest
image: harbor.jfreudenberger.de:8443/website/app:${website_version:-latest}
environment:
- VIRTUAL_HOST=jfreudenberger.de,www.jfreudenberger.de # the domain where the service should be reached
- VIRTUAL_PORT=80 # the port the service listens in the container
@ -12,6 +12,6 @@ services:
networks:
webproxy:
external:
name: webproxy
name: webproxy
external: true