-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 703 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (27 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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