-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (37 loc) · 2.26 KB
/
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
34
35
36
37
38
version: "3"
services:
shell:
image: lscr.io/linuxserver/openssh-server:9.0_p1-r2-ls100
container_name: yscialom_devenv_shell
hostname: shell
env_file:
- .env
environment:
- PUBLIC_KEY_FILE=/config/.ssh/id_rsa.pub
- SUDO_ACCESS=true
- PASSWORD_ACCESS=false
- VERSION=1.0.0
volumes:
- ./src/common/custom-cont-init.d/master-install.sh:/custom-cont-init.d/master-install.sh # master install
- ./src/shell/install-scripts:/ysc/install-scripts/00_shell:ro # installation scripts
- ./src/ansible/install-scripts:/ysc/install-scripts/10_ansible:ro # installation scripts
- ./src/shell/oh-my-zsh-config:/ysc/oh-my-zsh-config:ro # user settings
- ~/.ssh/id_rsa:/config/.ssh/id_rsa:ro # client ssh private key
- ~/.ssh/id_rsa.pub:/config/.ssh/id_rsa.pub:ro # client ssh public key
- ${HOST_WORK_DIR}/shell.sshdata:/config/ssh_host_keys # server ssh keys
- ${HOST_WORK_DIR}/shell.codedata:/config/workspace # workspace
restart: unless-stopped
agnide:
image: lscr.io/linuxserver/code-server:4.9.1
container_name: yscialom_devenv_agnide
hostname: agnide
env_file:
- .env
volumes:
- ./src/common/custom-cont-init.d/master-install.sh:/custom-cont-init.d/master-install.sh # master install
- ./src/agnide/install-scripts:/ysc/install-scripts/agnide:ro # installation scripts
- ./src/agnide/vs-code:/ysc/vs-code:ro # user settings
- ~/.ssh/id_rsa:/config/.ssh/id_rsa # client ssh private key
- ~/.ssh/id_rsa.pub:/config/.ssh/id_rsa.pub # client ssh public key
- ${HOST_WORK_DIR}/shell.codedata:/config/workspace # workspace
restart: unless-stopped