init
This commit is contained in:
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user