Files
stacks/development.yaml

133 lines
3.1 KiB
YAML

services:
# nginx-proxy-manager:
# image: jlesage/nginx-proxy-manager:latest
# ports:
# - "443:4443"
# - "80:8080"
# - "81:8181"
# volumes:
# - /portainer/Files/AppData/Config/Nginx-Proxy:/config
# networks: nginx
# restart: unless-stopped
# gitea:
# image: gitea/gitea:latest
# ports:
# - "222:22"
# - "3000:3000"
# volumes:
# - /etc/localtime:/etc/localtime
# - /etc/timezone:/etc/timezone
# - /portainer/gitea:/data
# networks:
# - nginx
# environment:
# - USER_UID=1000
# - USER_GID=1000
# - GITEA_CUSTOM=/data/gitea
# - ROOT_URL=https://git.dietrick.dev
# restart: unless-stopped
jenkins:
image: registry.dietrick.dev/djdietrick/jenkins-docker:latest
ports:
- "8081:8080"
- "50000:50000"
volumes:
- jenkins-data:/var/jenkins_home
- jenkins-docker-certs:/certs/client
networks:
- nginx
environment:
- DOCKER_HOST=tcp://docker:2376
- DOCKER_CERT_PATH=/certs/client
- DOCKER_TLS_VERIFY=1
restart: unless-stopped
depends_on:
- jenkins-docker
jenkins-docker:
image: docker:dind
ports:
- "2376:2376"
volumes:
- jenkins-docker-certs:/certs/client
- jenkins-data:/var/jenkins_home
networks:
- nginx
hostname: docker
environment:
- DOCKER_TLS_CERTDIR=/certs
privileged: true
restart: unless-stopped
docker-registry:
image: registry:2
ports:
- "5000:5000"
volumes:
- docker-registry:/var/lib/registry
networks:
- nginx
restart: unless-stopped
docker-registry-ui:
image: konradkleine/docker-registry-frontend:v2
ports:
- "8085:80"
networks:
- nginx
environment:
- ENV_DOCKER_REGISTRY_HOST=docker-registry
- ENV_DOCKER_REGISTRY_PORT=5000
restart: unless-stopped
pocketbase-sandbox:
image: djdietrick/pocketbase:latest
ports:
- "8090:8090"
volumes:
- pocketbase-sandbox:/pb_data
restart: unless-stopped
snibox:
image: snowmean/snibox-sqlite:latest
ports:
- "3010:3000"
volumes:
- /portainer/snibox:/app/db/database
restart: unless-stopped
gitlab:
image: gitlab/gitlab-ce:latest
hostname: gitlab.dietrick.dev
ports:
- "8445:443"
- "8086:80"
- "8087:22"
volumes:
- gitlab_config:/etc/gitlab
- gitlab_logs:/var/log/gitlab
- gitlab_data:/var/opt/gitlab
restart: unless-stopped
networks:
- nginx
# grep 'Password:' /etc/gitlab/initial_root_password
gitlab-runner:
image: gitlab/gitlab-runner:latest
volumes:
- gitlab_runner_config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
networks:
- nginx
networks:
nginx:
external: true
volumes:
docker-registry:
external: true
jenkins-docker-certs:
external: true
jenkins-data:
external: true
pocketbase-sandbox:
external: true
gitlab_config:
gitlab_logs:
gitlab_data:
gitlab_runner_config: