-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen-canary.compose.yml
More file actions
72 lines (70 loc) · 1.48 KB
/
Copy pathopen-canary.compose.yml
File metadata and controls
72 lines (70 loc) · 1.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
networks:
canary:
enable_ipv6: "true"
driver: bridge
driver_opts:
com.docker.network.bridge.gateway_mode_ipv6: routed
ipam:
driver: default
config:
- subnet: 2001:db8::/64
gateway: 2001:db8::1
x-common: &common
restart: unless-stopped
volumes:
- ./oc_custom/opencanary.conf:/root/.opencanary.conf
- ./data/opencanary/log:/var/log/opencanary/
networks:
- canary
# uncomment below if running Samba
# - /var/log/samba-audit.log:/var/log/samba-audit.log
image: "opencanary"
# network_mode: "host"
ports:
# Comment/un-comment the port lines below to disable/enable the services you are using
# FTP
#- "${CANARY_IPV4}:21:21"
#- "[${CANARY_IPV6}]:21:21"
- "21:21"
# SSH
- "22:22"
# Telnet
- "23:23"
# TFTP
# - "69:69"
# HTTP
#- "${CANARY_IPV4}:80:80"
#- "[${CANARY_IPV6}]:80:80"
- "80:80"
# NTP
# - "123:123"
# SNMP
# - "161:161"
# SMB
- "445:445"
# MSSQL
# - "1433:1433"
# MYSQL
- "3306:3306"
# RDP
# - "3389:3389"
# VNC
# - "5000:5000"
# SIP
# - "5060:5060"
# REDIS
- "6379:6379"
# TCP Banner
# - "8001:8001"
# HTTP Proxy
# - "8080:8080"
# Git
# - "9418:9418"
services:
latest: # docker-compose up --build -d latest
<<: *common
container_name: opencanary_latest
image: thinkst/opencanary
build:
context: ./opencanary
dockerfile: Dockerfile.latest