add env vars to be able to pull docker image from other location

This commit is contained in:
Steven Sting
2024-11-01 16:40:14 +01:00
parent 1270645418
commit c9a0ce4f55
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
TYPE=engelsystem
COMPOSE_FILE="compose.yml"
#IMAGE=example.com/image
#TAG=latest
DOMAIN=engelsystem.example.com

View File

@ -2,7 +2,7 @@
version: "3.8"
services:
app:
image: docker.chaos.expert/engelsystem/engelsystem/engelsystem
image: ${IMAGE:-docker.chaos.expert/engelsystem/engelsystem/engelsystem}:${TAG:-latest}
environment:
- MYSQL_HOST=db
- MYSQL_USER=engelsystem