Initial
This commit is contained in:
commit
3f60b72c3b
48 changed files with 6599 additions and 0 deletions
33
compose/ssh.yml
Normal file
33
compose/ssh.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: active
|
||||
services:
|
||||
ssh:
|
||||
build:
|
||||
context: /volumes/stack
|
||||
container_name: ssh
|
||||
volumes:
|
||||
- /volumes:/volumes
|
||||
- /:/host
|
||||
- /volumes/stack:/root/stack
|
||||
- /volumes/stack/.zsh_history:/root/.zsh_history
|
||||
- /volumes/stack/.zshrc:/root/.zshrc
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
TZ: $TIME_ZONE
|
||||
network_mode: host
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
- SYS_RAWIO
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "12"
|
||||
memory: 4G
|
||||
devices:
|
||||
- "/dev/nvme0n1"
|
||||
tty: true
|
||||
|
||||
networks:
|
||||
local-network:
|
||||
Loading…
Add table
Add a link
Reference in a new issue