proxy-nginx/gitblit/gitblit-compose.yml

37 lines
761 B
YAML
Executable File

# docker compose ---file 2.gitblit-compose.yml --env-file $1-docker.env up --detach
services:
gitblit:
image: gitblit/gitblit
container_name: gitblit
environment:
- TZ=Europe/Warsaw
restart: always
ports:
- 8989:8080
- 9419:9418
- 7990:8443
- 29419:29418
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
# System dir to start other tasks
- ${IMPORTANT_DATA}/sys:/_system_
# In order to keep all system data
- type: bind
source: ${DOCKER_DATA}/gitblit
target: /var/opt/gitblit
# docker compose ---file 2.jenkins-with-docker-compose.yml --env-file $1-docker.env down