-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
58 lines (58 loc) · 1.51 KB
/
docker-compose.yaml
File metadata and controls
58 lines (58 loc) · 1.51 KB
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
# This file is provided as a quick way to deploy ContainerSSH for
# testing purposes. It should not be used for production.
#
# Please see the ContainerSSH reference manual for a detailed guide:
# https://containerssh.io/reference/
---
version: '3.2'
services:
containerssh:
build: .
ports:
- 127.0.0.1:2222:2222
volumes:
- type: bind
source: ./config.yaml
target: /etc/containerssh/config.yaml
- type: bind
source: ./ssh_host_rsa_key
target: /var/secrets/ssh_host_rsa_key
- type: bind
source: ./ssh_host_rsa_key
target: /var/secrets/ssh_host_ed25519_key
- type: bind
source: ./ssh_host_rsa_key
target: /var/secrets/ssh_host_ecdsa_key
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
logging:
driver: fluentd
options:
"fluentd-address": "127.0.0.1:24224"
"tag": "containerssh.{{.ID}}"
depends_on:
- fluentd
- authconfig
authconfig:
image: containerssh/containerssh-test-authconfig:0.4.1
fluentd:
build: ./fluentd
volumes:
- ./fluentd/conf:/fluentd/etc
ports:
- "127.0.0.1:24224:24224"
- "127.0.0.1:24224:24224/udp"
depends_on:
- elasticsearch
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
container_name: elasticsearch
environment:
- "discovery.type=single-node"
kibana:
image: kibana:7.10.1
ports:
- "127.0.0.1:5601:5601"
depends_on:
- elasticsearch