php-devops/docker-compose.yml
Snider 438ad7bd65 fix: align container image naming convention
Use ghcr.io/host-uk/core-images:{tag} format where tag is the
image variant (developer, server-php) rather than path-based naming.

See: https://github.com/host-uk/core-images/issues/1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:10:44 +00:00

29 lines
703 B
YAML

# Core Developer Environment
# Mounts packages/ as /workspace in the container
services:
dev:
image: ghcr.io/host-uk/core-images:developer
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