45 lines
1.6 KiB
YAML
45 lines
1.6 KiB
YAML
|
services:
|
||
|
hajtexsshd:
|
||
|
image: hajtex_sshd_image
|
||
|
container_name: hajtexsshd
|
||
|
hostname: hajtexsshd
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /docker/compose/scp_git_bridge/downloads:/downloads
|
||
|
- /docker/compose/scp_git_bridge/etc:/etc
|
||
|
- /docker/compose/scp_git_bridge/log:/var/log
|
||
|
|
||
|
- /docker/compose/scp_git_bridge/files/auth_against_docker.py:/auth_against_docker.py:ro
|
||
|
- /docker/compose/scp_git_bridge/files/build_jail.sh:/build_jail.sh:ro
|
||
|
- /docker/compose/scp_git_bridge/files/download_files.py:/download_files.py:ro
|
||
|
- /docker/compose/scp_git_bridge/files/get_projects.py:/get_projects.py:ro
|
||
|
- /docker/compose/scp_git_bridge/files/pam_sshd:/etc/pam.d/sshd:ro
|
||
|
- /docker/compose/scp_git_bridge/files/process_user_auth.sh:/process_user_auth.sh:ro
|
||
|
- /docker/compose/scp_git_bridge/files/sshd_config:/etc/ssh/sshd_config:ro
|
||
|
- /docker/compose/scp_git_bridge/files/update_user_jail.sh:/update_user_jail.sh:ro
|
||
|
- /docker/compose/scp_git_bridge/files/update_userlist.py:/update_userlist.py:ro
|
||
|
- /docker/compose/scp_git_bridge/files/rush.rc:/etc/rush.rc:ro
|
||
|
- /docker/compose/scp_git_bridge/files/pre-rush.sh:/pre-rush.sh:ro
|
||
|
- /docker/compose/scp_git_bridge/files/update_project_list.py:/update_project_list.py:ro
|
||
|
|
||
|
- /docker/compose/scp_git_bridge/files/config.toml:/etc/kc-ssh-pam/config.toml:ro
|
||
|
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
|
||
|
ports:
|
||
|
- 993:22
|
||
|
environment:
|
||
|
PUID: 1000
|
||
|
PGID: 1000
|
||
|
TZ: Etc/UTC
|
||
|
networks:
|
||
|
- overleaf-network
|
||
|
- keycloak-network
|
||
|
|
||
|
networks:
|
||
|
overleaf-network:
|
||
|
external: true
|
||
|
keycloak-network:
|
||
|
external: true
|
||
|
|