2026-01-31 22:58:09 +00:00
|
|
|
# Core Developer Environment
|
|
|
|
|
# Mounts packages/ as /workspace in the container
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
dev:
|
2026-01-31 23:10:44 +00:00
|
|
|
image: ghcr.io/host-uk/core-images:developer
|
2026-01-31 22:58:09 +00:00
|
|
|
container_name: core-dev
|
|
|
|
|
hostname: core-dev
|
|
|
|
|
stdin_open: true
|
|
|
|
|
tty: true
|
|
|
|
|
volumes:
|
|
|
|
|
# Mount packages directory as workspace
|
|
|
|
|
- ./packages:/workspace
|
|
|
|
|
# Persist home directory configs
|
|
|
|
|
- dev-home:/root
|
|
|
|
|
# SSH keys for git operations
|
|
|
|
|
- ~/.ssh:/root/.ssh:ro
|
|
|
|
|
# Git config
|
|
|
|
|
- ~/.gitconfig:/root/.gitconfig:ro
|
|
|
|
|
environment:
|
|
|
|
|
- TERM=xterm-256color
|
|
|
|
|
- EDITOR=nvim
|
|
|
|
|
working_dir: /workspace
|
|
|
|
|
# Keep container running
|
|
|
|
|
command: ["/bin/zsh"]
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
dev-home:
|
|
|
|
|
name: core-dev-home
|