This commit is contained in:
2026-03-07 03:01:43 +00:00
commit 365cb6692e
8 changed files with 240 additions and 0 deletions

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
# Docker Compose for deployment
# IMAGE_TAG is set by Jenkins during deployment (e.g., latest, or git commit SHA)
services:
app:
image: ${DOCKER_REGISTRY:-docker.io}/${DOCKER_IMAGE:-myapp}:${IMAGE_TAG:-latest}
container_name: jenkins-deploy-app
ports:
- "8080:8080"
environment:
- VERSION=${IMAGE_TAG:-latest}
restart: unless-stopped