24 lines
692 B
YAML
24 lines
692 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
cdn:
|
|
image: hub.dev.d4science.org/cdn/cdn:dev
|
|
ports:
|
|
- "8080:80"
|
|
healthcheck:
|
|
test: curl http://localhost/health
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 12
|
|
volumes:
|
|
- /home/lettere/git/isti/d4s-cdn-setup/config/api.py:/opt/api.py
|
|
- /home/lettere/git/isti/d4s-cdn-setup/config/init.py:/opt/init.py
|
|
- /home/lettere/git/isti/d4s-cdn-setup/config/default.conf:/etc/nginx/conf.d/default.conf
|
|
environment:
|
|
GIT_BRANCH: master
|
|
GIT_SERVER: https://code-repo.d4science.org/gCubeSystem
|
|
GIT_REPOSITORY: web-components
|
|
Authorization: ${cd_vredentials}
|
|
logging:
|
|
driver: "journald"
|