forked from thinkst/opencanary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (57 loc) · 1.19 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.4"
x-common: &common
restart: unless-stopped
volumes:
- ./data/.opencanary.conf:/root/.opencanary.conf
# 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
- "21:21"
# SSH
# - "22:22"
# Telnet
# - "23:23"
# TFTP
# - "69:69"
# HTTP
- "80:80"
# NTP
# - "123:123"
# SNMP
# - "161:161"
# 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: .
dockerfile: Dockerfile.latest
stable: # docker-compose up --build -d stable
<<: *common
container_name: opencanary_stable
build:
context: .
dockerfile: Dockerfile.stable