mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
22 lines
590 B
YAML
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:
|