forked from MRColorR/money4band
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
155 lines (139 loc) · 6.77 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#######################################################################
# File name : docker-compose.yml
# Author : MRColor
# This Docker-compose file use data from .env file
#######################################################################
services:
# EARNAPP CONTAINER
#EARNAPP_ENABLE earnapp:
#EARNAPP_ENABLE container_name: earnapp
#EARNAPP_ENABLE image: fazalfarhan01/earnapp:lite
#EARNAPP_ENABLE environment:
#EARNAPP_ENABLE - EARNAPP_UUID=$EARNAPP_DEVICE_UUID
#EARNAPP_ENABLE volumes:
#EARNAPP_ENABLE - earnapp-data:/etc/earnapp
#EARNAPP_ENABLE # network_mode: service:tun2socks
#EARNAPP_ENABLE restart: always
# HONEYGAIN CONTAINER
#HONEYGAIN_ENABLE honeygain:
#HONEYGAIN_ENABLE container_name: honeygain
#HONEYGAIN_ENABLE image: honeygain/honeygain:latest
#HONEYGAIN_ENABLE # network_mode: service:tun2socks
#HONEYGAIN_ENABLE environment:
#HONEYGAIN_ENABLE - HONEYGAIN_DUMMY=''
#HONEYGAIN_ENABLE command: -tou-accept -email $HONEYGAIN_EMAIL -pass $HONEYGAIN_PASSWD -device $DEVICE_NAME
#HONEYGAIN_ENABLE restart: always
# IPROYALPAWNS CONTAINER
#IPROYALPAWNS_ENABLE iproyal:
#IPROYALPAWNS_ENABLE container_name: iproyal
#IPROYALPAWNS_ENABLE image: iproyal/pawns-cli:latest
#IPROYALPAWNS_ENABLE environment:
#IPROYALPAWNS_ENABLE - IPROYALPAWNS_DUMMY=''
#IPROYALPAWNS_ENABLE command: -accept-tos -email=$IPROYALPAWNS_EMAIL -password=$IPROYALPAWNS_PASSWD -device-name=$DEVICE_NAME
#IPROYALPAWNS_ENABLE # network_mode: service:tun2socks
#IPROYALPAWNS_ENABLE restart: always
# PEER2PROFIT CONTAINER
#PEER2PROFIT_ENABLE peer2profit:
#PEER2PROFIT_ENABLE container_name: peer2profit
#PEER2PROFIT_ENABLE image: peer2profit/peer2profit_linux:latest
#PEER2PROFIT_ENABLE environment:
#PEER2PROFIT_ENABLE - P2P_EMAIL=$PEER2PROFIT_EMAIL
#PEER2PROFIT_ENABLE # network_mode: service:tun2socks
#PEER2PROFIT_ENABLE restart: always
# PACKETSTREAM CONTAINER
#PACKETSTREAM_ENABLE packetstream:
#PACKETSTREAM_ENABLE container_name: packetstream
#PACKETSTREAM_ENABLE image: packetstream/psclient:latest
#PACKETSTREAM_ENABLE environment:
#PACKETSTREAM_ENABLE - CID=$PACKETSTREAM_CID
#PACKETSTREAM_ENABLE # network_mode: service:tun2socks
#PACKETSTREAM_ENABLE restart: always
# TRAFFMONETIZER CONTAINER
#TRAFFMONETIZER_ENABLE traffMonetizer:
#TRAFFMONETIZER_ENABLE container_name: traffmonetizer
#TRAFFMONETIZER_ENABLE image: traffmonetizer/cli:latest
#TRAFFMONETIZER_ENABLE environment:
#TRAFFMONETIZER_ENABLE - TRAFFMONETIZER_DUMMY=''
#TRAFFMONETIZER_ENABLE command: start accept status --token $TRAFFMONETIZER_TOKEN --device-name $DEVICE_NAME
#TRAFFMONETIZER_ENABLE # network_mode: service:tun2socks
#TRAFFMONETIZER_ENABLE restart: always
# REPOCKET CONTAINER
#REPOCKET_ENABLE repocket:
#REPOCKET_ENABLE container_name: repocket
#REPOCKET_ENABLE image: repocket/repocket:latest
#REPOCKET_ENABLE environment:
#REPOCKET_ENABLE - RP_EMAIL=$REPOCKET_EMAIL
#REPOCKET_ENABLE - RP_API_KEY=$REPOCKET_APIKEY
#REPOCKET_ENABLE # network_mode: service:tun2socks
#REPOCKET_ENABLE restart: always
# PROXYRACK CONTAINER
#PROXYRACK_ENABLE proxyrack:
#PROXYRACK_ENABLE container_name: proxyrack
#PROXYRACK_ENABLE image: proxyrack/pop:latest
#PROXYRACK_ENABLE environment:
#PROXYRACK_ENABLE - api_key=$PROXYRACK_APIKEY
#PROXYRACK_ENABLE - device_name=$DEVICE_NAME
#PROXYRACK_ENABLE # network_mode: service:tun2socks
#PROXYRACK_ENABLE restart: always
# PROXYLITE CONTAINER
#PROXYLITE_ENABLE proxylite:
#PROXYLITE_ENABLE container_name: proxylite
#PROXYLITE_ENABLE image: proxylite/proxyservice:latest
#PROXYLITE_ENABLE environment:
#PROXYLITE_ENABLE - USER_ID=$PROXYLITE_USER_ID
#PROXYLITE_ENABLE # network_mode: service:tun2socks
#PROXYLITE_ENABLE restart: always
# BITPING CONTAINER
# !!For this app you'll need a one-time operation to claim your node: the first time if you do not have a backup of your identity you will need to enter manually your credentials to initialize it use : sudo docker run --rm -it -v ${PWD}/.data/.bitping/:/root/.bitping bitping/bitping-node:latest , then enter your credential , once this is done CTRL+C to end container and then if using bind folder just use docker compose to restart it as always, if you use the docker volume mount it in the previous comamnd or copy the created credentials in the volume using ' docker cp ${PWD}/.data/.bitping bitping:/root/' or just mount the volume in the interactive temporary container
#BITPING_ENABLE bitping:
#BITPING_ENABLE container_name: bitping
#BITPING_ENABLE image: bitping/bitping-node:latest
#BITPING_ENABLE environment:
#BITPING_ENABLE - BITPING_DUMMY=''
#BITPING_ENABLE volumes:
#BITPING_ENABLE # You have 2 options
#BITPING_ENABLE - ./.data/.bitping:/root/.bitping # Bind an host folder to the container (more insecure but simplier to port and backup) this option mount a new identity or a backed up one from the host file system
#BITPING_ENABLE # OR
#BITPING_ENABLE #- bitping-data:/root/.bitping # if you use this also uncomment the relative volume in volumes section, this Use docker volumes (more secure harder to access, backup and restore) you'll need to do backups using 'docker cp
#BITPING_ENABLE # network_mode: service:tun2socks
#BITPING_ENABLE restart: always
# TUN2SOCKS CONTAINER
#PROXY_ENABLE tun2socks:
#PROXY_ENABLE image: xjasonlyu/tun2socks
#PROXY_ENABLE container_name: tun2socks
#PROXY_ENABLE restart: always
#PROXY_ENABLE command: ["/bin/sh", "-c", "echo 'nameserver 1.1.1.1\nnameserver 8.8.8.8' > /etc/resolv.conf && ip rule add iif lo ipproto udp dport 53 lookup main && ip rule add iif lo ipproto udp dport 3478 lookup main"]
#PROXY_ENABLE environment:
#PROXY_ENABLE - LOGLEVEL=info
#PROXY_ENABLE - PROXY=$PROXY_STACK
#PROXY_ENABLE volumes:
#PROXY_ENABLE - '/dev/net/tun:/dev/net/tun'
#PROXY_ENABLE cap_add:
#PROXY_ENABLE - NET_ADMIN
# WATCHTOWER AUTO-UPDATER AND NOTIFICATIONS
watchtower:
container_name: watchtower
image: containrrr/watchtower:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_POLL_INTERVAL=7200
# - WATCHTOWER_NOTIFICATIONS=shoutrrr
# - WATCHTOWER_NOTIFICATION_URL=$SHOUTRRR_URL
# - WATCHTOWER_NOTIFICATIONS_HOSTNAME=$DEVICE_NAME
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_NO_STARTUP_MESSAGE=true
- WATCHTOWER_CLEANUP=true
restart: always
# WEB DASBOARD
webdashboard:
container_name: webdashboard
image: fnichol/uhttpd:latest
volumes:
- ./.resources/.www:/www
ports:
- 8081:80
restart: always
volumes:
earnapp-data:
#bitping-data: # uncomment this if in bitping volumes you choose to use docker volumes instead of binding an host folder