mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
feat!: add daemon to build & especially cache
This commit is contained in:
parent
bd1cfe94a4
commit
92f3560899
12 changed files with 93 additions and 17 deletions
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue