forked from openziti-test-kitchen/ansible-paramikoz-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
58 lines (52 loc) · 1.22 KB
/
docker-compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
version: "3"
services:
ssh-service-zet:
build:
context: .
dockerfile: build/ssh-service-zet/Dockerfile
image: ssh-service-zet:dev
privileged: false
restart: unless-stopped
environment:
- FXLOG_NO_JSON=true
- NF_REG_NAME=ssh_server_1
networks:
- ssh-service-zet
command: ["run-host", "--verbose=4"]
openssh-server:
build:
context: .
dockerfile: build/openssh-server/Dockerfile
image: openssh-server:dev
privileged: false
restart: unless-stopped
networks:
- ssh-service-zet
ssh-service-sdk:
build:
context: .
dockerfile: build/ssh-service-sdk/Dockerfile
args:
DOCKER_BUILD_DIR: build/ssh-service-sdk
PYTHON_VERSION: latest
SSHD_USER: ziggy
image: ssh-service-sdk:dev
privileged: false
restart: unless-stopped
networks:
- ssh-service-sdk
environment:
- SSHD_HOST_KEY_FILE=host_key_file.key
- SSHD_LOG_LEVEL=DEBUG
- ZITI_IDENTITY_FILE=ssh_server_2.json
- ZITI_LOG=3
- ZITI_SDK_SERVICE=${ZITI_SDK_SERVICE}
networks:
ssh-service-zet:
driver: bridge
external: false
ssh-service-sdk:
driver: bridge
external: false
...