nix-gitlab-ci/docker-compose.yml

22 lines
590 B
YAML

services:
gitlab-runner:
image: gitlab/gitlab-runner:latest
restart: unless-stopped
container_name: Gitlab-Runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./gitlab-runner.toml:/etc/gitlab-runner/config.toml
nix-ci-daemon:
# comment out build to use the dockerhub image
build: ./daemon
image: technofab/nix-ci-daemon
restart: unless-stopped
container_name: Nix-CI-Daemon
volumes:
- nix-daemon-socket:/nix/var/nix/daemon-socket
- nix-shared-store:/nix/store
volumes:
nix-shared-store:
nix-daemon-socket: