23 lines
502 B
YAML
23 lines
502 B
YAML
services:
|
|
app:
|
|
container_name: test
|
|
image: ${DOCKER_REGISTRY}/pratama/${IMAGE_NAME}:${IMAGE_TAG}
|
|
# build: .
|
|
ports:
|
|
- "8991:80"
|
|
env_file:
|
|
- slack.env
|
|
networks:
|
|
- gitlab-repo
|
|
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "http://localhost/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 5s
|
|
|
|
networks:
|
|
gitlab-repo:
|
|
external: true
|