-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (33 loc) · 936 Bytes
/
docker-compose.yml
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
30
31
32
33
version: "3.8"
services:
remote:
image: uintuser/remote:base
tty: true
privileged: true
command: /usr/sbin/sshd -D
deploy: # Resource constraints
resources:
limits:
cpus: "4"
memory: 8G
volumes:
- type: tmpfs # Use tmpfs for I/O-intensive ops
target: /tmp
- type: tmpfs
target: /root/.cache/
- local:/root/.local/
- cache:/root/.cache/
- tmux_plugins:/root/.tmux/plugins/
- ../.:/root/workspace/
- $HOME/.config/nvim:/root/.config/nvim
- $HOME/.config/github-copilot/:/root/.config/github-copilot/
- $HOME/.zshrc:/root/.zshrc
- $HOME/.p10k.zsh:/root/.p10k.zsh
- $HOME/.tmux.conf:/root/.tmux.conf
- $HOME/.gitconfig:/root/.gitconfig
ports:
- "127.0.0.1:2222:22" # The 127.0.0.1 is important for security (only allows local connections)
volumes:
local:
tmux_plugins:
cache: