16 lines
464 B
YAML
16 lines
464 B
YAML
services:
|
|
runner-rust:
|
|
image: gitea-runner-rust
|
|
build:
|
|
context: .
|
|
dockerfile: dockerfiles/rust/Dockerfile
|
|
container_name: rust-runner-gitea
|
|
volumes:
|
|
# Map the specific 'rust' folder to the container's /data
|
|
- ./runner-data/rust:/data
|
|
# Map your specific rust config
|
|
- ./rust-data/config.yml:/data/config.yml
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
network_mode: host
|
|
restart: unless-stopped
|