Files
webkit2gtk-automator/docker-compose.yml
T

24 lines
826 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
builder:
build:
context: .
dockerfile: Dockerfile
image: webkit2gtk-builder
container_name: webkit2gtk-builder
restart: unless-stopped
env_file:
- .env
# NPROC in .env controls both the number of compiler jobs (make -jN) and
# the CPU cap enforced by the kernel. Set it once, it applies everywhere
cpus: '${NPROC:-4}'
mem_limit: 12g
memswap_limit: 12g
volumes:
# Entire project mounted so the container can read/write state, artifacts,
# and the webkit2gtk / webkit2gtk-bin git repos
- .:/workspace
# AUR SSH private key (path set in .env via AUR_SSH_KEY_PATH)
- ${AUR_SSH_KEY_PATH}:/run/secrets/aur_id_rsa:ro
# No ports needed this is a pure background worker
# Logs are available via: docker compose logs -f