├── .gitignore
├── .gitmodules
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── alerting
├── alerta
│ └── docker-compose.yml
└── flapjack
│ └── docker-compose.yml
├── angular-seed-advanced
├── Dockerfile
├── Dockerfile.base
├── Dockerfile.original
└── docker-compose.yml
├── communication
└── matrix
│ └── docker-compose.yml
├── database
├── mongodb
│ └── docker-compose.yml
├── mysql
│ └── docker-compose.yml
└── utils
│ └── phpmyadmin
│ └── docker-compose.yml
├── desktop
└── applications
│ ├── csmarosi
│ └── xrdp_base
│ │ ├── Dockerfile
│ │ └── docker-compose.yml
│ └── generic
│ ├── Dockerfile
│ └── docker-compose.yml
├── desktops
└── R
│ ├── docker-compose.yml
│ └── nexus
├── dfrws
├── Dockerfile
└── docker-compose.yml
├── dns
└── xip.io
│ ├── .env
│ ├── README.md
│ └── docker-compose.yml
├── docker
└── docker-ui
│ └── docker-compose.yml
├── esp8266
├── README.md
├── data
│ └── esp8266_deauther_1.1_1mb.bin
└── docker-compose.yml
├── freeradius
├── README.md
├── clients.conf
├── docker-compose.yml
├── hostapd
│ ├── conf
│ │ ├── clients.conf
│ │ ├── hostapd.conf
│ │ └── users
│ └── docker-compose.yml
└── users
├── gogs
├── conf
│ └── mysql
│ │ └── gogs.sql
└── docker-compose.yml
├── graylog
├── README.md
├── contrib
│ ├── Screen Shot 2016-10-18 at 15.21.37.png
│ ├── Screen Shot 2016-10-18 at 15.21.43.png
│ └── Screen Shot 2016-10-18 at 16.23.17.png
├── docker-compose-fluentd.yml
├── docker-compose-hello.yml
├── docker-compose.yml
└── docker-fluentd-amqp-graylog2
│ ├── Dockerfile
│ ├── README.md
│ ├── fluent.conf
│ ├── plugins.txt
│ └── plugins
│ └── .gitignore
├── home_automation
├── domoticz
│ └── docker-compose.yml
└── openhab
│ └── docker-compose.yml
├── jenkins
├── normal
│ └── docker-compose.yml
└── with_plugins
│ ├── Dockerfile
│ ├── docker-compose.yml
│ └── plugins.txt
├── luaradio
├── README.md
├── bin
│ ├── link
│ └── setup
└── docker-compose.yml
├── mattermost
├── .env
└── docker-compose.yml
├── messagebus
└── rabbitmq
│ └── amqps_mqtts
│ ├── README.md
│ ├── conf
│ └── rabbitmq.config
│ └── docker-compose.yml
├── nagios
└── docker-compose.yml
├── openvpn
├── .gitignore
├── README.md
└── docker-compose.yml
├── ovpn
└── docker-compose.yml
├── pbx
└── fusionpbx
│ └── docker-compose.yml
├── post-hook
├── README.md
└── hooks
│ └── post_push
├── registry
├── https
│ └── docker-compose.yml
└── nexus
│ └── docker-compose.yml
├── repository
├── artifactory
│ └── docker-compose.yml
└── nexus
│ ├── docker-compose.yml
│ ├── nexus
│ └── docker-compose.yml
│ └── ssl
│ ├── .env
│ ├── Dockerfile
│ ├── README.md
│ └── docker-compose.yml
├── seneca
└── seneca-rabbitmq
│ ├── .env
│ ├── Dockerfile
│ ├── README.md
│ ├── conf
│ └── package.json
│ ├── docker-compose.yml
│ └── src
│ └── start.js
├── sniffer
└── isniff
│ ├── README.md
│ ├── bin
│ └── convert
│ ├── data
│ └── .gitignore
│ └── docker-compose.yml
├── ssl
└── letsencrypt
│ └── multiple_sites_example
│ └── docker-compose.yml
├── thingsboard
├── .dockerignore
├── .gitignore
├── Dockerfile.build
├── Dockerfile.run
├── README.md
├── bin
│ ├── build
│ ├── db
│ ├── db-schema
│ ├── rebuild
│ └── run
├── contrib
│ └── data
│ │ ├── attributes-data.json
│ │ ├── mqtt-js.sh
│ │ ├── publish.js
│ │ └── telemetry-data.json
├── docker-compose-build.yml
├── docker-compose-db.yml
└── docker-compose-run.yml
├── tor
└── hidden_services
│ └── auth_hidden_services
│ ├── README.md
│ └── docker-compose.yml
└── xcessiv
├── README.md
└── docker-compose.yml
/.gitignore:
--------------------------------------------------------------------------------
1 | work.env
2 | DS_Store
3 | .DS_Store
4 | ._DS_Store
5 | ._.DS_Store
6 | .swp
7 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "luaradio/docker-luaradio"]
2 | path = luaradio/docker-luaradio
3 | url = https://github.com/marcelmaatkamp/docker-luaradio.git
4 | [submodule "freeradius/docker-alpine-radius"]
5 | path = freeradius/docker-alpine-radius
6 | url = https://github.com/marcelmaatkamp/docker-alpine-radius.git
7 | [submodule "tor/hidden_services/auth_hidden_services/docker-tor-hidden-service"]
8 | path = tor/hidden_services/auth_hidden_services/docker-tor-hidden-service
9 | url = https://github.com/marcelmaatkamp/docker-tor-hidden-service.git
10 | [submodule "thingsboard/thingsboard"]
11 | path = thingsboard/thingsboard
12 | url = https://github.com/marcelmaatkamp/thingsboard.git
13 | [submodule "iSniff-GPS"]
14 | path = sniffer/isniff/iSniff-GPS
15 | url = https://github.com/marcelmaatkamp/iSniff-GPS
16 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | * Using welcoming and inclusive language
12 | * Being respectful of differing viewpoints and experiences
13 | * Gracefully accepting constructive criticism
14 | * Focusing on what is best for the community
15 | * Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | * Trolling, insulting/derogatory comments, and personal or political attacks
21 | * Public or private harassment
22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | * Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 | ## Enforcement
36 |
37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at m.maatkamp@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38 |
39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40 |
41 | ## Attribution
42 |
43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44 |
45 | [homepage]: http://contributor-covenant.org
46 | [version]: http://contributor-covenant.org/version/1/4/
47 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 | {one line to give the program's name and a brief idea of what it does.}
635 | Copyright (C) {year} {name of author}
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | {project} Copyright (C) {year} {fullname}
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # docker-compose-applications
2 | This will be my main development branch containing docker-compose files with attached git submodules.
3 |
--------------------------------------------------------------------------------
/alerting/alerta/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | rabbitmq:
6 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
7 | restart: always
8 | hostname: rabbitmq
9 | environment:
10 | RABBITMQ_NODENAME: rabbitmq@rabbitmq
11 | volumes:
12 | - ./volumes/rabbitmq/mnesia:/var/lib/rabbitmq/mnesia
13 |
14 | mongodb:
15 | image: mongo
16 | restart: always
17 | volumes:
18 | - "./volumes/mongodb/database:/data/db"
19 | - "./volumes/mongodb/config:/data/configdb"
20 |
21 | alerta:
22 | image: alerta/alerta-web
23 | hostname: alerta
24 | links:
25 | - mongodb:mongodb
26 | - rabbitmq:rabbitmq
27 | environment:
28 | - MONGO_HOST=mongodb
29 | - MONGO_PORT=27017
30 | - AMQP_URL="amqp://guest:guest@rabbitmq:5672//"
31 | - AMQP_TOPIC="alerta"
32 |
--------------------------------------------------------------------------------
/alerting/flapjack/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | flapjack:
5 | image: flapjack/flapjack
6 | hostname: flapjack
7 |
--------------------------------------------------------------------------------
/angular-seed-advanced/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:8.2.0
2 | RUN echo "deb http://ftp.de.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
3 | RUN \
4 | dpkg --add-architecture i386 &&\
5 | apt-get update && \
6 | apt-get install -t jessie-backports -y openjdk-8-jdk ca-certificates-java unzip file git curl zip sudo libncurses5:i386 libstdc++6:i386 zlib1g:i386 vim &&\
7 | apt-get clean &&\
8 | rm -rf /var/lib/apt/lists /var/cache/apt
9 |
10 | RUN ln -s /bin/true /usr/local/bin/mkdirp
11 |
12 | ENV \
13 | ANDROID_HOME="/home/user/android-sdk-linux" \
14 | SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip" \
15 | GRADLE_URL="https://services.gradle.org/distributions/gradle-3.3-all.zip"
16 |
17 | RUN useradd -m user
18 | RUN echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
19 |
20 | # RUN echo "yes" | npm install nativescript -g --unsafe-perm
21 | USER user
22 | WORKDIR /home/user
23 |
24 | RUN mkdir "$ANDROID_HOME" .android \
25 | && cd "$ANDROID_HOME" \
26 | && curl -o sdk.zip $SDK_URL \
27 | && unzip sdk.zip \
28 | && rm sdk.zip \
29 | && yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
30 |
31 | RUN wget $GRADLE_URL -O gradle.zip \
32 | && unzip gradle.zip \
33 | && mv gradle-3.3 gradle \
34 | && rm gradle.zip \
35 | && mkdir .gradle
36 | ENV PATH="/home/user/gradle/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${PATH}"
37 |
38 | USER root
39 | RUN echo "yes" | npm install nativescript -g --unsafe-perm
40 | USER user
41 |
42 | RUN git clone https://github.com/marcelmaatkamp/angular-seed-advanced.git
43 | WORKDIR angular-seed-advanced
44 | RUN mkdir -p nativescript/app
45 | RUN sudo npm install nativescript -g --unsafe-perm
46 | RUN sudo chown -R user:user .
47 | RUN npm install
48 | RUN sudo npm install gulp -g
49 | RUN sdkmanager "platform-tools" "platforms;android-26" "extras;android;m2repository" "build-tools;26.0.2"
50 | RUN sed -i 's/require/global.require/g' /home/user/angular-seed-advanced/nativescript/node_modules/tns-core-modules/profiling/profiling.js
51 | RUN npm run build.android
52 |
--------------------------------------------------------------------------------
/angular-seed-advanced/Dockerfile.base:
--------------------------------------------------------------------------------
1 | FROM node:8.2.0
2 |
3 | RUN echo "deb http://ftp.de.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
4 | RUN \
5 | dpkg --add-architecture i386 &&\
6 | apt-get update && \
7 | apt-get install -t jessie-backports -y openjdk-8-jdk ca-certificates-java unzip file git curl zip sudo libncurses5:i386 libstdc++6:i386 zlib1g:i386 vim &&\
8 | apt-get clean &&\
9 | rm -rf /var/lib/apt/lists /var/cache/apt
10 | RUN ln -s /bin/true /usr/local/bin/mkdirp
11 |
12 | ENV \
13 | ANDROID_HOME="/home/user/android-sdk-linux" \
14 | SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip" \
15 | GRADLE_URL="https://services.gradle.org/distributions/gradle-3.3-all.zip"
16 |
17 | RUN useradd -m user
18 | RUN echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
19 |
20 | USER user
21 | WORKDIR /home/user
22 |
23 | RUN mkdir "$ANDROID_HOME" .android \
24 | && cd "$ANDROID_HOME" \
25 | && curl -o sdk.zip $SDK_URL \
26 | && unzip sdk.zip \
27 | && rm sdk.zip \
28 | && yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
29 |
30 | RUN wget $GRADLE_URL -O gradle.zip \
31 | && unzip gradle.zip \
32 | && mv gradle-3.3 gradle \
33 | && rm gradle.zip \
34 | && mkdir .gradle
35 | ENV PATH="/home/user/gradle/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${PATH}"
36 |
--------------------------------------------------------------------------------
/angular-seed-advanced/Dockerfile.original:
--------------------------------------------------------------------------------
1 | FROM node:8.2.0
2 |
3 | RUN echo "deb http://ftp.de.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
4 | RUN \
5 | dpkg --add-architecture i386 &&\
6 | apt-get update && \
7 | apt-get install -t jessie-backports -y openjdk-8-jdk ca-certificates-java unzip file git curl zip sudo libncurses5:i386 libstdc++6:i386 zlib1g:i386 vim &&\
8 | apt-get clean &&\
9 | rm -rf /var/lib/apt/lists /var/cache/apt
10 | RUN ln -s /bin/true /usr/local/bin/mkdirp
11 |
12 | ENV \
13 | ANDROID_HOME="/home/user/android-sdk-linux" \
14 | SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip" \
15 | GRADLE_URL="https://services.gradle.org/distributions/gradle-3.3-all.zip"
16 |
17 | RUN useradd -m user
18 | RUN echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
19 |
20 | USER user
21 | WORKDIR /home/user
22 |
23 | RUN mkdir "$ANDROID_HOME" .android \
24 | && cd "$ANDROID_HOME" \
25 | && curl -o sdk.zip $SDK_URL \
26 | && unzip sdk.zip \
27 | && rm sdk.zip \
28 | && yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
29 |
30 | RUN wget $GRADLE_URL -O gradle.zip \
31 | && unzip gradle.zip \
32 | && mv gradle-3.3 gradle \
33 | && rm gradle.zip \
34 | && mkdir .gradle
35 | ENV PATH="/home/user/gradle/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${PATH}"
36 |
37 | # ---
38 | RUN echo "yes" | sudo npm install nativescript -g --unsafe-perm
39 |
40 | RUN git clone https://github.com/NathanWalker/angular-seed-advanced.git
41 | WORKDIR angular-seed-advanced
42 | RUN mkdir -p nativescript/app
43 | RUN sudo npm install -g nativescript
44 | RUN sudo chown -R user:user .
45 | RUN npm install
46 | RUN sudo npm install gulp -g
47 | RUN sudo npm install nativescript -g --unsafe-perm
48 | RUN sdkmanager "platform-tools" "platforms;android-26" "extras;android;m2repository" "build-tools;26.0.2"
49 | # RUN sudo npm install tns-core-modules@3.1.0 -g
50 | RUN sed -i 's/require/global.require/g' /home/user/angular-seed-advanced/nativescript/node_modules/tns-core-modules/profiling/profiling.js
51 | RUN npm run build.android
52 |
--------------------------------------------------------------------------------
/angular-seed-advanced/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 | angular:
4 | build:
5 | context: .
6 |
7 |
--------------------------------------------------------------------------------
/communication/matrix/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | matrix:
5 | image: silviof/docker-matrix
6 | hostname: matrix
7 | command: start
8 | ports:
9 | - 3478:3478
10 | - 8448:8448
11 | volumes:
12 | - ./volumes/matrix:/data
13 |
14 | vector:
15 | image: silviof/docker-matrix-vector
16 | hostname: vector
17 | volumes:
18 | - ./volumes/matrix:/data
19 | links:
20 | - matrix:maxtrix
21 |
--------------------------------------------------------------------------------
/database/mongodb/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | mongodb:
5 | image: mongo
6 | restart: always
7 | volumes:
8 | - "./volumes/mongodb/database:/data/db"
9 | - "./volumes/mongodb/config:/data/configdb"
10 |
--------------------------------------------------------------------------------
/database/mysql/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | mysql:
5 | image: mysql/mysql-server:latest
6 | hostname: mysql
7 | environment:
8 | - MYSQL_ROOT_PASSWORD=my-secret-pw
9 | volumes:
10 | - ./volumes/mysql:/var/lib/mysql
11 |
--------------------------------------------------------------------------------
/database/utils/phpmyadmin/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | phpmyadmin:
5 | image: phpmyadmin/phpmyadmin
6 | hostname: phpmyadmin
7 | links:
8 | - mysql:db
9 | volumes:
10 | - ./volumes/phpmyadmin:/sessions§
11 |
--------------------------------------------------------------------------------
/desktop/applications/csmarosi/xrdp_base/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM debian
2 | MAINTAINER Csaba Marosi "4bea6c869366227b879ffe4abad50c@gmail.com"
3 |
4 | RUN apt-get update && \
5 | apt-get install --no-install-recommends -y -q \
6 | sudo git vim ca-certificates \
7 | rxvt-unicode-lite ratpoison \
8 | libssl-dev libpam0g-dev libx11-dev libxfixes-dev libxrandr-dev \
9 | xfonts-utils \
10 | procps \
11 | python python-lxml python-libxml2 \
12 | wget \
13 | && \
14 | apt-get clean
15 |
16 | # For a smaller image, remove build tools & artifacts after compilation.
17 | RUN apt-get update && \
18 | apt-get install --no-install-recommends -y -q \
19 | make autoconf automake libtool pkg-config xz-utils \
20 | bzip2 xsltproc flex bison g++ gettext libxml-sax-expat-perl \
21 | && \
22 | cd /opt && \
23 | git clone --recursive https://github.com/neutrinolabs/xrdp.git && \
24 | cd xrdp && \
25 | ./bootstrap && \
26 | ./configure && \
27 | make && \
28 | make install && \
29 | xrdp-keygen xrdp auto &&\
30 | cp instfiles/pam.d/xrdp-sesman.debian /etc/pam.d/xrdp-sesman && \
31 | cd /opt/xrdp/xorg/X11R7.6 && \
32 | ./buildx.sh /opt/X11rdp && \
33 | ln -s /opt/X11rdp/bin/X11rdp /usr/local/bin/X11rdp && \
34 | cp /etc/xrdp/xrdp.sh /etc/init.d/ && \
35 | cd / && rm -rf /opt/xrdp && \
36 | apt-get remove -yq \
37 | make autoconf automake libtool pkg-config xz-utils \
38 | bzip2 xsltproc flex bison g++ gettext libxml-sax-expat-perl \
39 | && \
40 | apt-get autoremove -yq && \
41 | apt-get clean
42 |
43 | EXPOSE 3389
44 | RUN echo 'ALL ALL=NOPASSWD:ALL' > /etc/sudoers.d/allSudo && \
45 | echo 'root:p' | chpasswd
46 |
47 | #TODO: there should be a better method than this!
48 | # CMD ["bash", "-c", "sudo /etc/init.d/xrdp.sh start && bash"]
49 | CMD ["/etc/init.d/xrdp.sh","start"]
50 |
--------------------------------------------------------------------------------
/desktop/applications/csmarosi/xrdp_base/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3'
2 | services:
3 | xrdp_base:
4 | image: xrdp_base
5 | build: .
6 | ports:
7 | - "3389:3389"
8 |
9 |
--------------------------------------------------------------------------------
/desktop/applications/generic/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:edge
2 | MAINTAINER Daniel Guerra
3 |
4 | RUN apk add --update openssh util-linux dbus ttf-freefont xauth xf86-input-keyboard sudo\
5 | && rm -rf /tmp/* /var/cache/apk/*
6 | RUN addgroup alpine \
7 | && adduser -G alpine -s /bin/sh -D alpine \
8 | && echo "alpine:alpine" | /usr/sbin/chpasswd \
9 | && echo "alpine ALL=(ALL) ALL" >> /etc/sudoers
10 |
11 | ADD docker-entrypoint.sh /usr/sbin
12 | ENTRYPOINT ["docker-entrypoint.sh"]
13 | CMD ["/usr/sbin/sshd","-D"]
14 |
15 | ADD apk /tmp/apk
16 | RUN cp /tmp/apk/.abuild/-57cfc5fa.rsa.pub /etc/apk/keys
17 |
18 | RUN apk --update --no-cache add xrdp xvfb alpine-desktop xfce4 thunar-volman \
19 | faenza-icon-theme slim xf86-input-synaptics xf86-input-mouse xf86-input-keyboard \
20 | setxkbmap sudo util-linux dbus wireshark ttf-freefont xauth supervisor \
21 | && apk add /tmp/apk/ossp-uuid-1.6.2-r0.apk \
22 | && apk add /tmp/apk/ossp-uuid-dev-1.6.2-r0.apk \
23 | && apk add /tmp/apk/x11vnc-0.9.13-r0.apk \
24 | && rm -rf /tmp/* /var/cache/apk/*
25 |
26 | ADD etc /etc
27 |
28 | RUN xrdp-keygen xrdp auto
29 | RUN sed -i '/TerminalServerUsers/d' /etc/xrdp/sesman.ini \
30 | && sed -i '/TerminalServerAdmins/d' /etc/xrdp/sesman.ini
31 |
32 | EXPOSE 3389 22
33 | ENTRYPOINT ["docker-entrypoint.sh"]
34 | CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]
35 |
--------------------------------------------------------------------------------
/desktop/applications/generic/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3'
2 |
3 | services:
4 |
5 | docker:
6 | image: docker:dind
7 |
8 | rdp:
9 | image: danielguerra/alpine-xfce4-xrdp
10 | restart: always
11 | ports:
12 | - "3389:3389"
13 | - "4848:22"
14 | environment:
15 | - DOCKER_HOST=tcp://docker:2375
16 |
17 |
18 |
--------------------------------------------------------------------------------
/desktops/R/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3'
2 |
3 | services:
4 |
5 | guacd:
6 | hostname: guacd
7 | image: danielguerra/guacamole-guacd
8 | guadb:
9 | hostname: guadb
10 | image: danielguerra/guacamole-db
11 | environment:
12 | - MYSQL_ROOT_PASSWORD=mypass
13 | guaweb:
14 | image: danielguerra/guacamole-webserver
15 | links:
16 | - guacd
17 | - "guadb:db"
18 | - desktop
19 | ports:
20 | - "8080:8080"
21 | desktop:
22 | image: danielguerra/alpine-xfce4-xrdp
23 | environment:
24 | - USER=root
25 | volumes:
26 | - ./contrib/desktop/bookmarks.json:/home/alpine/Desktop/bookmarks.json
27 |
--------------------------------------------------------------------------------
/desktops/R/nexus:
--------------------------------------------------------------------------------
1 | execve("/usr/bin/docker", ["docker", "pull", "java:latest"], [/* 37 vars */]) = 0
2 | brk(NULL) = 0x221a000
3 | access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
4 | mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef1536000
5 | access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
6 | open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
7 | fstat(3, {st_mode=S_IFREG|0644, st_size=44263, ...}) = 0
8 | mmap(NULL, 44263, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7feef152b000
9 | close(3) = 0
10 | access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
11 | open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
12 | read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260`\0\0\0\0\0\0"..., 832) = 832
13 | fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
14 | mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feef10f6000
15 | mprotect(0x7feef110e000, 2093056, PROT_NONE) = 0
16 | mmap(0x7feef130d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7feef130d000
17 | mmap(0x7feef130f000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7feef130f000
18 | close(3) = 0
19 | access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
20 | open("/usr/lib/x86_64-linux-gnu/libltdl.so.7", O_RDONLY|O_CLOEXEC) = 3
21 | read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\36\0\0\0\0\0\0"..., 832) = 832
22 | fstat(3, {st_mode=S_IFREG|0644, st_size=39272, ...}) = 0
23 | mmap(NULL, 2134448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feef0eec000
24 | mprotect(0x7feef0ef5000, 2093056, PROT_NONE) = 0
25 | mmap(0x7feef10f4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7feef10f4000
26 | close(3) = 0
27 | access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
28 | open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
29 | read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
30 | fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0
31 | mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef152a000
32 | mmap(NULL, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feef0b23000
33 | mprotect(0x7feef0ce2000, 2097152, PROT_NONE) = 0
34 | mmap(0x7feef0ee2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7feef0ee2000
35 | mmap(0x7feef0ee8000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7feef0ee8000
36 | close(3) = 0
37 | access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
38 | open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
39 | read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
40 | fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
41 | mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feef091f000
42 | mprotect(0x7feef0922000, 2093056, PROT_NONE) = 0
43 | mmap(0x7feef0b21000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7feef0b21000
44 | close(3) = 0
45 | mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef1529000
46 | mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef1528000
47 | mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef1527000
48 | arch_prctl(ARCH_SET_FS, 0x7feef1528700) = 0
49 | mprotect(0x7feef0ee2000, 16384, PROT_READ) = 0
50 | mprotect(0x7feef0b21000, 4096, PROT_READ) = 0
51 | mprotect(0x7feef10f4000, 4096, PROT_READ) = 0
52 | mprotect(0x7feef130d000, 4096, PROT_READ) = 0
53 | mprotect(0x110d000, 4096, PROT_READ) = 0
54 | mprotect(0x7feef1538000, 4096, PROT_READ) = 0
55 | munmap(0x7feef152b000, 44263) = 0
56 | set_tid_address(0x7feef15289d0) = 15904
57 | set_robust_list(0x7feef15289e0, 24) = 0
58 | rt_sigaction(SIGRTMIN, {0x7feef10fbb50, [], SA_RESTORER|SA_SIGINFO, 0x7feef1107390}, NULL, 8) = 0
59 | rt_sigaction(SIGRT_1, {0x7feef10fbbe0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7feef1107390}, NULL, 8) = 0
60 | rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
61 | getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
62 | brk(NULL) = 0x221a000
63 | brk(0x223b000) = 0x223b000
64 | sched_getaffinity(0, 8192, [f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...]) = 64
65 | mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
66 | munmap(0xc000000000, 65536) = 0
67 | mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef14e7000
68 | mmap(0xc420000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc420000000
69 | mmap(0xc41fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc41fff8000
70 | mmap(0xc000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
71 | mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef14d7000
72 | mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef14c7000
73 | rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
74 | sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
75 | sigaltstack({ss_sp=0xc420002000, ss_flags=0, ss_size=32672}, NULL) = 0
76 | gettid() = 15904
77 | rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
78 | rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
79 | rt_sigaction(SIGHUP, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
80 | rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
81 | rt_sigaction(SIGINT, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
82 | rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
83 | rt_sigaction(SIGQUIT, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
84 | rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
85 | rt_sigaction(SIGILL, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
86 | rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], 0}, 8) = 0
87 | rt_sigaction(SIGTRAP, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
88 | rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
89 | rt_sigaction(SIGABRT, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
90 | rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
91 | rt_sigaction(SIGBUS, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
92 | rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
93 | rt_sigaction(SIGFPE, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
94 | rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], 0}, 8) = 0
95 | rt_sigaction(SIGUSR1, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
96 | rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
97 | rt_sigaction(SIGSEGV, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
98 | rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], 0}, 8) = 0
99 | rt_sigaction(SIGUSR2, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
100 | rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], 0}, 8) = 0
101 | rt_sigaction(SIGPIPE, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
102 | rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
103 | rt_sigaction(SIGALRM, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
104 | rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
105 | rt_sigaction(SIGTERM, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
106 | rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], 0}, 8) = 0
107 | rt_sigaction(SIGSTKFLT, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
108 | rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
109 | rt_sigaction(SIGCHLD, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
110 | rt_sigaction(SIGURG, NULL, {SIG_DFL, [], 0}, 8) = 0
111 | rt_sigaction(SIGURG, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
112 | rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], 0}, 8) = 0
113 | rt_sigaction(SIGXCPU, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
114 | rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], 0}, 8) = 0
115 | rt_sigaction(SIGXFSZ, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
116 | rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
117 | rt_sigaction(SIGVTALRM, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
118 | rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
119 | rt_sigaction(SIGPROF, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
120 | rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0
121 | rt_sigaction(SIGWINCH, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
122 | rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
123 | rt_sigaction(SIGIO, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
124 | rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], 0}, 8) = 0
125 | rt_sigaction(SIGPWR, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
126 | rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], 0}, 8) = 0
127 | rt_sigaction(SIGSYS, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
128 | rt_sigaction(SIGRTMIN, NULL, {0x7feef10fbb50, [], SA_RESTORER|SA_SIGINFO, 0x7feef1107390}, 8) = 0
129 | rt_sigaction(SIGRTMIN, NULL, {0x7feef10fbb50, [], SA_RESTORER|SA_SIGINFO, 0x7feef1107390}, 8) = 0
130 | rt_sigaction(SIGRTMIN, {0x7feef10fbb50, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7feef1107390}, NULL, 8) = 0
131 | rt_sigaction(SIGRT_1, NULL, {0x7feef10fbbe0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7feef1107390}, 8) = 0
132 | rt_sigaction(SIGRT_1, NULL, {0x7feef10fbbe0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7feef1107390}, 8) = 0
133 | rt_sigaction(SIGRT_1, {0x7feef10fbbe0, [], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7feef1107390}, NULL, 8) = 0
134 | rt_sigaction(SIGRT_2, NULL, {SIG_DFL, [], 0}, 8) = 0
135 | rt_sigaction(SIGRT_2, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
136 | rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], 0}, 8) = 0
137 | rt_sigaction(SIGRT_3, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
138 | rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], 0}, 8) = 0
139 | rt_sigaction(SIGRT_4, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
140 | rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], 0}, 8) = 0
141 | rt_sigaction(SIGRT_5, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
142 | rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], 0}, 8) = 0
143 | rt_sigaction(SIGRT_6, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
144 | rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], 0}, 8) = 0
145 | rt_sigaction(SIGRT_7, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
146 | rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], 0}, 8) = 0
147 | rt_sigaction(SIGRT_8, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
148 | rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], 0}, 8) = 0
149 | rt_sigaction(SIGRT_9, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
150 | rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], 0}, 8) = 0
151 | rt_sigaction(SIGRT_10, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
152 | rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], 0}, 8) = 0
153 | rt_sigaction(SIGRT_11, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
154 | rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], 0}, 8) = 0
155 | rt_sigaction(SIGRT_12, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
156 | rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], 0}, 8) = 0
157 | rt_sigaction(SIGRT_13, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
158 | rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], 0}, 8) = 0
159 | rt_sigaction(SIGRT_14, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
160 | rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], 0}, 8) = 0
161 | rt_sigaction(SIGRT_15, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
162 | rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], 0}, 8) = 0
163 | rt_sigaction(SIGRT_16, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
164 | rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], 0}, 8) = 0
165 | rt_sigaction(SIGRT_17, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
166 | rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], 0}, 8) = 0
167 | rt_sigaction(SIGRT_18, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
168 | rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], 0}, 8) = 0
169 | rt_sigaction(SIGRT_19, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
170 | rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], 0}, 8) = 0
171 | rt_sigaction(SIGRT_20, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
172 | rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], 0}, 8) = 0
173 | rt_sigaction(SIGRT_21, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
174 | rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], 0}, 8) = 0
175 | rt_sigaction(SIGRT_22, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
176 | rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], 0}, 8) = 0
177 | rt_sigaction(SIGRT_23, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
178 | rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], 0}, 8) = 0
179 | rt_sigaction(SIGRT_24, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
180 | rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], 0}, 8) = 0
181 | rt_sigaction(SIGRT_25, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
182 | rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], 0}, 8) = 0
183 | rt_sigaction(SIGRT_26, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
184 | rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], 0}, 8) = 0
185 | rt_sigaction(SIGRT_27, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
186 | rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], 0}, 8) = 0
187 | rt_sigaction(SIGRT_28, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
188 | rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], 0}, 8) = 0
189 | rt_sigaction(SIGRT_29, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
190 | rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], 0}, 8) = 0
191 | rt_sigaction(SIGRT_30, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
192 | rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], 0}, 8) = 0
193 | rt_sigaction(SIGRT_31, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
194 | rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], 0}, 8) = 0
195 | rt_sigaction(SIGRT_32, {0x45fb70, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x45fc30}, NULL, 8) = 0
196 | rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
197 | mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7feef011e000
198 | mprotect(0x7feef011e000, 4096, PROT_NONE) = 0
199 | clone(child_stack=0x7feef091dff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7feef091e9d0, tls=0x7feef091e700, child_tidptr=0x7feef091e9d0) = 15905
200 | rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
201 | rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
202 | mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7feeef91d000
203 | mprotect(0x7feeef91d000, 4096, PROT_NONE) = 0
204 | clone(child_stack=0x7feef011cff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7feef011d9d0, tls=0x7feef011d700, child_tidptr=0x7feef011d9d0) = 15906
205 | rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
206 | rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
207 | mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7feeef11c000
208 | mprotect(0x7feeef11c000, 4096, PROT_NONE) = 0
209 | clone(child_stack=0x7feeef91bff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7feeef91c9d0, tls=0x7feeef91c700, child_tidptr=0x7feeef91c9d0) = 15907
210 | rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
211 | futex(0xc420060110, FUTEX_WAKE, 1) = 1
212 | futex(0xc42002e910, FUTEX_WAKE, 1) = 1
213 | futex(0xc420060110, FUTEX_WAKE, 1) = 1
214 | mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feef1487000
215 | openat(AT_FDCWD, "/proc/sys/net/core/somaxconn", O_RDONLY|O_CLOEXEC) = 3
216 | read(3, "128\n", 4096) = 4
217 | read(3, "", 4092) = 0
218 | close(3) = 0
219 | socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
220 | close(3) = 0
221 | socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
222 | setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
223 | bind(3, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
224 | socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 4
225 | setsockopt(4, SOL_IPV6, IPV6_V6ONLY, [0], 4) = 0
226 | bind(4, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
227 | close(4) = 0
228 | close(3) = 0
229 | ioctl(2, TCGETS, 0xc42004dea4) = -1 ENOTTY (Inappropriate ioctl for device)
230 | mmap(0xc420100000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc420100000
231 | mmap(0xc41fff0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc41fff0000
232 | mmap(0xc420200000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc420200000
233 | mmap(0xc41ffe8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc41ffe8000
234 | getrandom("f", 1, GRND_NONBLOCK) = 1
235 | getrandom("\20\3647\221~\240!k", 8, 0) = 8
236 | futex(0xc42002e910, FUTEX_WAKE, 1) = 1
237 | mmap(0xc420300000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc420300000
238 | mmap(0xc41ffe0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc41ffe0000
239 | stat("/usr/lib/libykcs11.so", 0xc4202b96f8) = -1 ENOENT (No such file or directory)
240 | stat("/usr/lib64/libykcs11.so", 0xc4202b97c8) = -1 ENOENT (No such file or directory)
241 | stat("/usr/lib/x86_64-linux-gnu/libykcs11.so", 0xc4202b9898) = -1 ENOENT (No such file or directory)
242 | stat("/usr/local/lib/libykcs11.so", 0xc4202b9968) = -1 ENOENT (No such file or directory)
243 | ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
244 | ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
245 | stat("/home/marcel/.docker/config.json", {st_mode=S_IFREG|0600, st_size=374, ...}) = 0
246 | openat(AT_FDCWD, "/home/marcel/.docker/config.json", O_RDONLY|O_CLOEXEC) = 3
247 | read(3, "{\n\t\"auths\": {\n \"n"..., 512) = 374
248 | close(3) = 0
249 | futex(0xc420060110, FUTEX_WAKE, 1) = 1
250 | socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
251 | setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
252 | connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/docker.sock"}, 23) = 0
253 | epoll_create1(EPOLL_CLOEXEC) = 4
254 | epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=4048125880, u64=140664227069880}}) = 0
255 | getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
256 | getpeername(3, {sa_family=AF_LOCAL, sun_path="/var/run/docker.sock"}, [23]) = 0
257 | futex(0xc42002ed10, FUTEX_WAKE, 1) = 1
258 | read(3, 0xc4203b1000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
259 | write(3, "GET /_ping HTTP/1.1\r\nHost: docke"..., 79) = 79
260 | rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
261 | mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7feeee11a000
262 | mprotect(0x7feeee11a000, 4096, PROT_NONE) = 0
263 | clone(child_stack=0x7feeee919ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7feeee91a9d0, tls=0x7feeee91a700, child_tidptr=0x7feeee91a9d0) = 15909
264 | rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
265 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = 0
266 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = 0
267 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
268 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
269 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = 0
270 | epoll_wait(4, [], 128, 0) = 0
271 | futex(0xc42002ed10, FUTEX_WAKE, 1) = 1
272 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = 0
273 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
274 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
275 | futex(0x1154cd0, FUTEX_WAIT, 0, NULL) = 0
276 | epoll_wait(4, [], 128, 0) = 0
277 | select(0, NULL, NULL, NULL, {0, 3}) = 0 (Timeout)
278 | futex(0xc4202b5d10, FUTEX_WAKE, 1) = 1
279 | futex(0x1154cd0, FUTEX_WAIT, 0, NULLstrace: Process 15904 detached
280 |
281 |
--------------------------------------------------------------------------------
/dfrws/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM ubuntu
2 |
3 | RUN apt-get update && apt-get install -y redis-server python-fuse python-redis python-xattr python-libewf sleuthkit git python-setuptools libpython-dev exif binutils
4 | RUN apt-get install -y wget
5 | RUN wget http://dfrws.capibara.com/python-fadvise_6.0.0_amd64.deb
6 | RUN wget http://dfrws.capibara.com/python-pyblake2_0.9.3_amd64.deb
7 | RUN dpkg -i python-fadvise_6.0.0_amd64.deb
8 | RUN dpkg -i python-pyblake2_0.9.3_amd64.deb
9 |
10 | WORKDIR dfrws
11 | RUN git clone https://github.com/pibara/MattockFS.git
12 | WORKDIR MattockFS
13 | RUN wget http://dfrws.capibara.com/macwd.E01
14 | RUN python ./setup.py build
15 | RUN python ./setup.py install
16 | RUN useradd mattockfs -d /var/mattock -m
17 | RUN cp bin/* /usr/local/bin/
18 | RUN cp mattockfs.json /etc/
19 |
--------------------------------------------------------------------------------
/dfrws/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | dfrws:
5 | build: .
6 | command: bash
7 | devices:
8 | - /dev/fuse:/dev/fuse
9 | cap_add:
10 | - ALL
11 |
--------------------------------------------------------------------------------
/dns/xip.io/.env:
--------------------------------------------------------------------------------
1 | IP_ADDRESS=93.191.128.252
2 | MYSQL_ROOT_PASSWORD=my-secret-pw
3 | MYSQL_USER=wordpress
4 | MYSQL_PASSWORD=my-secret-pw
5 | MYSQL_DATABASE=wordpresss
6 |
--------------------------------------------------------------------------------
/dns/xip.io/README.md:
--------------------------------------------------------------------------------
1 | # Wildcard DNS with letsencrypt and xip.io
2 |
3 | ## Wildcard dns
4 |
5 | So you want to:
6 | * Run some kind of webserver like Wordpress, Magnolia, Node-RED for example
7 | * Maybe even run multiple instances together
8 | * And want it (or those) running securely behind https?
9 | * And have those https SSL certificates automatically renewed with LetsEncrypt?
10 | * And want it running all together in docker instances?
11 | * And with zero setup and maintenance cost?
12 | * And for free?
13 |
14 | There is a solution!! The only thing you need is a computer running docker behind a public accessable ip-address, that's it!
15 |
16 | ## Installation
17 |
18 | Suppose your computer has an publically accessable ip-adress of 11.22.33.44 and runs docker. With the help of xip.io any docker container we will deploy a Wordpress site running behind htts where the certificates are being automatically renewed with LetsEncrypt.
19 | Just edit the .env file, set ip-address, username and password and start the instance with:
20 |
21 | ```
22 | $ docker-compose up
23 | ```
24 |
25 | This will start
26 | * https frontend
27 | * Wordpress on https://wordpress.11.22.33.44.xip.io
28 | * And some static frontend running on http://hello.11.22.33.44.xip.io
29 |
30 | docker.compose.yml
31 | ```
32 | version: "2"
33 |
34 | services:
35 |
36 | https-portal:
37 | image: steveltn/https-portal
38 | ports:
39 | - "80:80"
40 | - "443:443"
41 | restart: always
42 | volumes:
43 | - data-https_portal:/var/lib/https-portal/
44 | - /var/run/docker.sock:/var/run/docker.sock
45 | environment:
46 | DOMAINS: "hello.${IP_ADDRESS}.xip.io -> http://hello, wordpress.${IP_ADDRESS}.xip.io -> http://wordpress"
47 | # STAGE: "production"
48 | # FORCE_RENEW: "true"
49 |
50 | hello:
51 | image: tutum/hello-world
52 | hostname: hello
53 | depends_on:
54 | - https-portal
55 |
56 | wordpress:
57 | image: wordpress
58 | hostname: wordpress
59 | depends_on:
60 | - https-portal
61 | links:
62 | - wordpress-db:mysql
63 | volumes:
64 | - data-wordpress:/var/www/html
65 | environment:
66 | - WORDPRESS_DB_PASSWORD=${MYSQL_ROOT_PASSWORD}
67 |
68 | wordpress-db:
69 | image: mariadb
70 | restart: "always"
71 | volumes:
72 | - data-mysql:/var/lib/mysql
73 | environment:
74 | - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
75 | - MYSQL_USER=${MYSQL_USER}
76 | - MYSQL_PASSWORD=${MYSQL_PASSWORD}
77 | - MYSQL_DATABASE=${MYSQL_DATABASE}
78 |
79 | volumes:
80 | data-mysql:
81 | data-https_portal:
82 | data-wordpress:
83 | ```
84 |
--------------------------------------------------------------------------------
/dns/xip.io/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "2"
2 |
3 | services:
4 |
5 | https-portal:
6 | image: steveltn/https-portal
7 | ports:
8 | - "80:80"
9 | - "443:443"
10 | restart: always
11 | volumes:
12 | - data-https_portal:/var/lib/https-portal/
13 | - /var/run/docker.sock:/var/run/docker.sock
14 | environment:
15 | DOMAINS: "hello.${IP_ADDRESS}.xip.io -> http://hello, wordpress.${IP_ADDRESS}.xip.io -> http://wordpress"
16 | # STAGE: "production"
17 | # FORCE_RENEW: "true"
18 |
19 | hello:
20 | image: tutum/hello-world
21 | hostname: hello
22 | depends_on:
23 | - https-portal
24 |
25 | wordpress:
26 | image: wordpress
27 | hostname: wordpress
28 | depends_on:
29 | - https-portal
30 | links:
31 | - wordpress-db:mysql
32 | volumes:
33 | - data-wordpress:/var/www/html
34 | environment:
35 | - WORDPRESS_DB_PASSWORD=${MYSQL_ROOT_PASSWORD}
36 |
37 | wordpress-db:
38 | image: mariadb
39 | restart: "always"
40 | volumes:
41 | - data-mysql:/var/lib/mysql
42 | environment:
43 | - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
44 | - MYSQL_USER=${MYSQL_USER}
45 | - MYSQL_PASSWORD=${MYSQL_PASSWORD}
46 | - MYSQL_DATABASE=${MYSQL_DATABASE}
47 |
48 | volumes:
49 | data-mysql:
50 | data-https_portal:
51 | data-wordpress:
52 |
--------------------------------------------------------------------------------
/docker/docker-ui/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | docker-ui:
5 | image: uifd/ui-for-docker
6 | restart: always
7 | privileged: true
8 | ports:
9 | - 9000:9000
10 | volumes:
11 | - /var/run/docker.sock:/var/run/docker.sock
12 |
--------------------------------------------------------------------------------
/esp8266/README.md:
--------------------------------------------------------------------------------
1 | # ESP Flasher
2 |
3 | ```
4 | docker-compose run --entrypoint bash esp8266
5 | python ~/esp-open-sdk/esptool/esptool.py --port=/dev/ttyUSB0 write_flash 0x00000 /data/esp8266_deauther_1.1_1mb.bin
6 | ```
7 |
--------------------------------------------------------------------------------
/esp8266/data/esp8266_deauther_1.1_1mb.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/843a077e2eb800fd3dbc13dca63b61fd98c52cc3/esp8266/data/esp8266_deauther_1.1_1mb.bin
--------------------------------------------------------------------------------
/esp8266/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3'
2 | services:
3 | esp8266:
4 | image: twhtanghk/docker.esp8266
5 | devices:
6 | - /dev/ttyUSB0:/dev/ttyUSB0
7 | volumes:
8 | - ./data:/data
9 |
10 |
--------------------------------------------------------------------------------
/freeradius/README.md:
--------------------------------------------------------------------------------
1 | # Freeradius
2 | Set the ip-range which will connect to the server and the server-secret in [clients.conf](https://github.com/marcelmaatkamp/docker-compose-applications/blob/master/freeradius/clients.conf), set the user/password combination in [users](https://github.com/marcelmaatkamp/docker-compose-applications/blob/master/freeradius/users).
3 |
4 | ## Start the server
5 | ```
6 | $ docker-compose up -d freeradius
7 | ```
8 |
9 | ## Start a test radius connection
10 | ```
11 | $ docker-compose up freeradius-test
12 | ```
13 | The docker-compose.yml contains a container called 'freeradius-test' which will send a auth-request to the server which after succes will print
14 | ```
15 | freeradius-test_1 | Sending Access-Request of id 95 to 172.25.0.100 port 1812
16 | freeradius-test_1 | User-Name = "testing"
17 | freeradius-test_1 | User-Password = "password"
18 | freeradius-test_1 | NAS-IP-Address = 172.25.0.101
19 | freeradius-test_1 | NAS-Port = 0
20 | freeradius-test_1 | Message-Authenticator = 0x00000000000000000000000000000000
21 | freeradius-test_1 | rad_recv: Access-Accept packet from host 172.25.0.100 port 1812, id=95, length=20
22 | ```
23 |
--------------------------------------------------------------------------------
/freeradius/clients.conf:
--------------------------------------------------------------------------------
1 | client 172.25.0.0/24 {
2 | secret = SECRET
3 | }
4 |
--------------------------------------------------------------------------------
/freeradius/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | freeradius:
6 | image: "marcelmaatkamp/freeradius"
7 | # build: "docker-alpine-radius/"
8 | ports:
9 | - "1812:1812/udp"
10 | - "1813:1813"
11 | - "18120:18120"
12 | volumes:
13 | - "./clients.conf:/etc/raddb/clients.conf"
14 | - "./users:/etc/raddb/users"
15 | networks:
16 | mynet:
17 | ipv4_address: 172.25.0.100
18 |
19 | freeradius-test:
20 | image: "marcelmaatkamp/freeradius"
21 | # build: "docker-alpine-radius/"
22 | command: "radtest testing password freeradius 0 SECRET"
23 | networks:
24 | mynet:
25 | ipv4_address: 172.25.0.101
26 |
27 | networks:
28 | mynet:
29 | driver: bridge
30 | ipam:
31 | config:
32 | - subnet: 172.25.0.0/24
33 |
--------------------------------------------------------------------------------
/freeradius/hostapd/conf/clients.conf:
--------------------------------------------------------------------------------
1 | client localhost {
2 | ipaddr = 127.0.0.1
3 | secret = SECRET
4 | }
5 |
--------------------------------------------------------------------------------
/freeradius/hostapd/conf/hostapd.conf:
--------------------------------------------------------------------------------
1 | interface=wlx001f1fed5baa
2 | driver=nl80211
3 | ssid=dockerap
4 | hw_mode=g
5 | channel=11
6 |
7 | wpa=2
8 | wpa_key_mgmt=WPA-EAP
9 | wpa_pairwise=CCMP
10 | wpa_group_rekey=600
11 | wpa_strict_rekey=0
12 | wpa_gmk_rekey=86400
13 | ieee8021x=1
14 | eapol_key_index_workaround=0
15 |
16 | ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
17 | wmm_enabled=1
18 |
19 | auth_server_addr=freeradius
20 | auth_server_port=1812
21 | auth_server_shared_secret=SECRET
22 |
--------------------------------------------------------------------------------
/freeradius/hostapd/conf/users:
--------------------------------------------------------------------------------
1 | testing Cleartext-Password := "password", MS-CHAP-Use-NTLM-Auth := 0
2 |
--------------------------------------------------------------------------------
/freeradius/hostapd/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | freeradius:
5 | image: "marcelmaatkamp/freeradius"
6 | ports:
7 | - "1812:1812/udp"
8 | - "1813:1813"
9 | - "18120:18120"
10 | volumes:
11 | - "./conf/clients.conf:/etc/raddb/clients.conf"
12 | - "./conf/users:/etc/raddb/users"
13 |
14 | ap:
15 | image: forcedinductionz/docker-ap
16 | privileged: true
17 | network_mode: "host"
18 | depends_on:
19 | - freeradius
20 | environment:
21 | - INTERFACE=wlx001f1fed5baa
22 | volumes:
23 | - "./conf/hostapd.conf:/etc/hostapd.conf"
24 |
--------------------------------------------------------------------------------
/freeradius/users:
--------------------------------------------------------------------------------
1 | testing Cleartext-Password := "password", MS-CHAP-Use-NTLM-Auth := 0
2 |
--------------------------------------------------------------------------------
/gogs/conf/mysql/gogs.sql:
--------------------------------------------------------------------------------
1 | CREATE DATABASE gogs;
2 |
--------------------------------------------------------------------------------
/gogs/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | gogs:
5 | image: gogs/gogs
6 | ports:
7 | - "10022:22"
8 | - "10080:3000"
9 | volumes:
10 | - gogs:/data
11 |
12 | mysql:
13 | image: mysql
14 | restart: always
15 | hostname: mysql
16 | environment:
17 | - MYSQL_ROOT_PASSWORD=my-secret-pw
18 | volumes:
19 | - mysql:/var/lib/mysql/
20 | - ./conf/mysql:/docker-entrypoint-initdb.d/
21 |
22 | volumes:
23 | gogs:
24 | mysql:
25 |
--------------------------------------------------------------------------------
/graylog/README.md:
--------------------------------------------------------------------------------
1 | # Docker logging via graylog
2 |
3 | ## Start graylog
4 | ```
5 | docker-compose up -d graylog
6 | ```
7 |
8 | ## Start input in graylog
9 | ```
10 | System ->
11 | Inputs ->
12 | Select Input ->
13 | Gelf UDP
14 | ```
15 | 
16 | 
17 |
18 | ## Start example app
19 | ```
20 | docker-compose -f docker-compose-hello.yml up hello-via-gelf
21 | ```
22 |
23 | A docker application can now log to localhost:12201 where graylog will insert each stdout line into elasticsearch, an example would be via docker-compose
24 | ```
25 | hello-via-gelf:
26 | image: hello-world
27 | logging:
28 | driver: "gelf"
29 | options:
30 | gelf-address: "udp://localhost:12201"
31 | ```
32 |
33 | ## Admire output in graylog
34 | 
35 |
--------------------------------------------------------------------------------
/graylog/contrib/Screen Shot 2016-10-18 at 15.21.37.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/843a077e2eb800fd3dbc13dca63b61fd98c52cc3/graylog/contrib/Screen Shot 2016-10-18 at 15.21.37.png
--------------------------------------------------------------------------------
/graylog/contrib/Screen Shot 2016-10-18 at 15.21.43.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/843a077e2eb800fd3dbc13dca63b61fd98c52cc3/graylog/contrib/Screen Shot 2016-10-18 at 15.21.43.png
--------------------------------------------------------------------------------
/graylog/contrib/Screen Shot 2016-10-18 at 16.23.17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/843a077e2eb800fd3dbc13dca63b61fd98c52cc3/graylog/contrib/Screen Shot 2016-10-18 at 16.23.17.png
--------------------------------------------------------------------------------
/graylog/docker-compose-fluentd.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | elasticsearch-master:
5 | image: danielguerra/alpine-elasticsearch
6 | restart: always
7 | command: -Des.network.bind_host=elasticsearch-master --cluster.name=graylog --node.name=elasticsearch-master --discovery.zen.ping.multicast.enabled=false --network.host=elasticsearch-master
8 | hostname: elasticsearch-master
9 | volumes:
10 | - elastic-data:/usr/share/elasticsearch/data
11 | ports:
12 | - "9200:9200"
13 | - "9300:9300"
14 |
15 | elasticsearch-node01:
16 | image: danielguerra/alpine-elasticsearch
17 | restart: always
18 | command: -Des.network.bind_host=elasticsearch-node01 --cluster.name=graylog --node.name=elasticsearch-node01 --discovery.zen.ping.unicast.hosts=master:9300 --network.host=elasticsearch-node01
19 | hostname: elasticsearch-node01
20 | links:
21 | - "elasticsearch-master:master"
22 | volumes:
23 | - elastic-data:/usr/share/elasticsearch/data
24 |
25 | kibana:
26 | image: kibana
27 | restart: always
28 | hostname: kibana
29 | ports:
30 | - "5601:5601"
31 | links:
32 | - "elasticsearch-master:elasticsearch"
33 |
34 | mongodb:
35 | image: mongo:3
36 | restart: always
37 | command: "mongod --smallfiles"
38 | ports:
39 | - "27017:27017"
40 | volumes:
41 | - mongodb-conf:/etc/mongod.conf:ro
42 | - mongodb-data:/data/db
43 |
44 | graylog:
45 | image: "graylog2/server"
46 | restart: always
47 | volumes:
48 | - graylog-data:/usr/share/graylog/data/journal
49 | - graylog-conf:/usr/share/graylog/data/config
50 | environment:
51 | GRAYLOG_PASSWORD_SECRET: somepasswordpepper
52 | GRAYLOG_ROOT_PASSWORD_SHA2: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
53 | GRAYLOG_WEB_ENDPOINT_URI: http://127.0.0.1:9000/api
54 | ports:
55 | - "9000:9000"
56 | - "12201:12201"
57 | - "12201:12201/udp"
58 | links:
59 | - mongodb:mongo
60 | - elasticsearch-master:elasticsearch
61 | - rabbitmq:rabbitmq
62 | depends_on:
63 | - mongodb
64 | - rabbitmq
65 | - elasticsearch-master
66 | - elasticsearch-node01
67 |
68 | rabbitmq:
69 | image: rabbitmq:management
70 | restart: always
71 | hostname: rabbitmq
72 | ports:
73 | - 15672:15672
74 | environment:
75 | RABBITMQ_NODENAME: rabbitmq@rabbitmq
76 | volumes:
77 | - rabbitmq-data:/var/lib/rabbitmq/mnesia
78 |
79 | fluentd:
80 | image: fluent/fluentd
81 | build: docker-fluentd-amqp-graylog2
82 | restart: always
83 | links:
84 | - graylog:graylog
85 | - rabbitmq:rabbitmq
86 | volumes:
87 | - fluentd-logs:/fluentd/log
88 | - ./docker-fluentd-amqp-graylog2/fluent.conf:/fluentd/etc/fluent.conf
89 | environment:
90 | - FLUENTD_CONF=fluent.conf
91 | ports:
92 | - "24224:24224"
93 | - "5140:5140"
94 |
95 | volumes:
96 | mongodb-data:
97 | mongodb-conf:
98 | graylog-data:
99 | graylog-conf:
100 | elastic-data:
101 | fluentd-logs:
102 | rabbitmq-data:
103 |
--------------------------------------------------------------------------------
/graylog/docker-compose-hello.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | hello-via-gelf:
5 | image: hello-world
6 | logging:
7 | driver: "gelf"
8 | options:
9 | gelf-address: "udp://localhost:12201"
10 |
--------------------------------------------------------------------------------
/graylog/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | elasticsearch-master:
5 | image: danielguerra/alpine-elasticsearch
6 | restart: always
7 | command: -Des.network.bind_host=elasticsearch-master --cluster.name=graylog --node.name=elasticsearch-master --discovery.zen.ping.multicast.enabled=false --network.host=elasticsearch-master
8 | hostname: elasticsearch-master
9 | volumes:
10 | - elastic-data:/usr/share/elasticsearch/data
11 | ports:
12 | - "9200:9200"
13 | - "9300:9300"
14 |
15 | elasticsearch-node01:
16 | image: danielguerra/alpine-elasticsearch
17 | restart: always
18 | command: -Des.network.bind_host=elasticsearch-node01 --cluster.name=graylog --node.name=elasticsearch-node01 --discovery.zen.ping.unicast.hosts=master:9300 --network.host=elasticsearch-node01
19 | hostname: elasticsearch-node01
20 | links:
21 | - "elasticsearch-master:master"
22 | volumes:
23 | - elastic-data:/usr/share/elasticsearch/data
24 |
25 | mongodb:
26 | image: mongo:3
27 | restart: always
28 | command: "mongod --smallfiles"
29 | ports:
30 | - "27017:27017"
31 | volumes:
32 | - mongodb-conf:/etc/mongod.conf:ro
33 | - mongodb-data:/data/db
34 |
35 | graylog:
36 | image: "graylog2/server"
37 | restart: always
38 | volumes:
39 | - graylog-data:/usr/share/graylog/data/journal
40 | - graylog-conf:/usr/share/graylog/data/config
41 | environment:
42 | GRAYLOG_PASSWORD_SECRET: somepasswordpepper
43 | GRAYLOG_ROOT_PASSWORD_SHA2: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
44 | GRAYLOG_WEB_ENDPOINT_URI: http://127.0.0.1:9000/api
45 | ports:
46 | - "9000:9000"
47 | - "12201:12201"
48 | - "12201:12201/udp"
49 | links:
50 | - mongodb:mongo
51 | - elasticsearch-master:elasticsearch
52 | depends_on:
53 | - mongodb
54 | - elasticsearch-master
55 | - elasticsearch-node01
56 |
57 | volumes:
58 | mongodb-data:
59 | mongodb-conf:
60 | graylog-data:
61 | graylog-conf:
62 | elastic-data:
63 |
--------------------------------------------------------------------------------
/graylog/docker-fluentd-amqp-graylog2/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM fluent/fluentd:latest-onbuild
2 | MAINTAINER Marcel Maatkamp
3 | WORKDIR /home/fluent
4 | ENV PATH /home/fluent/.gem/ruby/2.3.0/bin:$PATH
5 |
6 | USER root
7 |
8 | RUN \
9 | apk --no-cache --update add sudo build-base ruby-dev &&\
10 |
11 | sudo -u fluent gem install fluent-plugin-amqp fluent-plugin-input-gelf gelf fluent-plugin-record-modifier &&\
12 | apk add ca-certificates wget && update-ca-certificates && apk add openssl &&\
13 | wget https://raw.githubusercontent.com/emsearcy/fluent-plugin-gelf/master/lib/fluent/plugin/out_gelf.rb -O /fluentd/plugins/out_gelf.rb &&\
14 |
15 | rm -rf /home/fluent/.gem/ruby/2.3.0/cache/*.gem && sudo -u fluent gem sources -c && \
16 | apk del sudo build-base ruby-dev && rm -rf /var/cache/apk/*
17 |
18 | USER fluent
19 | CMD exec fluentd -c /fluentd/etc/$FLUENTD_CONF -p /fluentd/plugins $FLUENTD_OPT
20 |
--------------------------------------------------------------------------------
/graylog/docker-fluentd-amqp-graylog2/README.md:
--------------------------------------------------------------------------------
1 | # Fluentd inputs via RabbitMQ into Graylog2
2 |
3 | ## Toplogy
4 |
5 | host:[syslog=5140|fluentd=24224] -> rabbitmq -> graylog:9000 ( -> elasticsearch )
6 |
7 | ## Start
8 |
9 | https://github.com/marcelmaatkamp/docker-compose-applications/tree/master/graylog
10 |
--------------------------------------------------------------------------------
/graylog/docker-fluentd-amqp-graylog2/fluent.conf:
--------------------------------------------------------------------------------
1 |
2 | @type forward
3 | @id input1
4 | @label @input
5 | port 24224
6 |
7 |
8 |
9 | type syslog
10 | tag graylog2
11 | @label @input
12 |
13 |
14 |
27 |
28 |
29 | type amqp
30 | host rabbitmq
31 | port 5672
32 | vhost /
33 | user guest
34 | pass guest
35 | queue logging.fluentd.graylog2
36 | exchange logging.fluentd
37 | bind_exchange true
38 | format json
39 | routing_key logging
40 | tag_key false
41 | @label @amqp
42 |
43 |
44 |
45 |
59 |
60 |
--------------------------------------------------------------------------------
/graylog/docker-fluentd-amqp-graylog2/plugins/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/843a077e2eb800fd3dbc13dca63b61fd98c52cc3/graylog/docker-fluentd-amqp-graylog2/plugins/.gitignore
--------------------------------------------------------------------------------
/home_automation/domoticz/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | domoticz:
5 | image: sdesbure/domoticz
6 | restart: always
7 | # links:
8 | # - rabbitmq:rabbitmq
9 | # - mongodb:mongodb
10 | ports:
11 | # - 443:443
12 | - 8080:8080
13 | - 6144:6144
14 | devices:
15 | - "/dev/ttyACM0:/dev/ttyACM0"
16 | volumes:
17 | - /etc/localtime:/etc/localtime:ro
18 | - ./volumes/domoticz:/config
19 |
--------------------------------------------------------------------------------
/home_automation/openhab/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | rabbitmq:
6 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
7 | restart: always
8 | hostname: rabbitmq
9 | ports:
10 | - 15672:15672
11 | environment:
12 | RABBITMQ_NODENAME: rabbitmq@rabbitmq
13 | volumes:
14 | - ./volumes/rabbitmq/mnesia:/var/lib/rabbitmq/mnesia
15 |
16 | mongodb:
17 | image: mongo
18 | restart: always
19 | volumes:
20 | - "./volumes/mongodb/database:/data/db"
21 | - "./volumes/mongodb/config:/data/configdb"
22 |
23 | openhab:
24 | image: openhab/openhab:amd64-offline
25 | command: "server"
26 | restart: always
27 | links:
28 | - rabbitmq:rabbitmq
29 | - mongodb:mongodb
30 | ports:
31 | - 8081:8080
32 | - 8443:8443
33 | - 5555:5555
34 | volumes:
35 | - /etc/localtime:/etc/localtime:ro
36 | - /etc/timezone:/etc/timezone:ro
37 | - ./volumes/openhab/userdata:/openhab/userdata
38 | - ./volumes/openhab/conf:/openhab/conf
39 |
--------------------------------------------------------------------------------
/jenkins/normal/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 | jenkins:
4 | image: jenkins/jenkins:lts
5 | ports:
6 | - 8080:8080
7 | - 50000:5000
8 | volumes:
9 | - jenkins:/var/jenkins_home
10 |
11 | volumes:
12 | jenkins:
13 |
--------------------------------------------------------------------------------
/jenkins/with_plugins/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM jenkins/jenkins:lts
2 |
3 | USER root
4 | RUN \
5 | apt-get update &&\
6 | apt-get install -y build-essential vim &&\
7 | rm -rf /var/lib/apt/lists/*
8 | USER jenkins
9 |
10 | COPY plugins.txt /usr/share/jenkins/plugins.txt
11 | RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/plugins.txt
12 |
--------------------------------------------------------------------------------
/jenkins/with_plugins/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 | jenkins:
4 | build:
5 | context: .
6 | ports:
7 | - 8080:8080
8 | - 50000:5000
9 | volumes:
10 | - jenkins:/var/jenkins_home
11 | - ./plugins.txt:/usr/share/jenkins/plugins.txt
12 |
13 | volumes:
14 | jenkins:
15 |
--------------------------------------------------------------------------------
/jenkins/with_plugins/plugins.txt:
--------------------------------------------------------------------------------
1 | docker-plugin
2 | docker-slaves
3 | ansible
4 | gitlab-plugin
5 | redmine
6 | git
7 |
--------------------------------------------------------------------------------
/luaradio/README.md:
--------------------------------------------------------------------------------
1 | From [http://luaradio.io](http://luaradio.io/)
2 | > **LuaRadio** is a lightweight, embeddable flow graph signal processing framework for software-defined radio. It provides a suite of source, sink, and processing blocks, with a simple API for defining flow graphs, running flow graphs, creating blocks, and creating data types. LuaRadio is built on [LuaJIT][1], has a small binary footprint of under 750 KB (including LuaJIT), has no external hard dependencies, and is MIT licensed.
3 | >
4 | > LuaRadio can be used to rapidly prototype software radios, modulation/demodulation utilities, and signal processing experiments. It can also be embedded into existing radio applications to serve as a user scriptable engine for processing samples.
5 | >
6 | > LuaRadio blocks are written in pure Lua, but can use [LuaJIT's FFI][2] to wrap external libraries, like [VOLK][3], [liquid-dsp][4], and others, for computational acceleration, more sophisticated processing, and interfacing with SDR hardware.
7 |
8 | > Use GNU Radio? See [how LuaRadio compares to GNU Radio][5].
9 |
10 | ## Example
11 |
12 | _Mono Wideband FM Broadcast Radio Receiver_
13 |
14 | 
15 |
16 | local radio = require('radio')
17 |
18 | radio.CompositeBlock():connect(
19 | radio.RtlSdrSource(88.5e6 - 250e3, 1102500), -- RTL-SDR source, offset-tuned to 88.5 MHz - 250 kHz
20 | radio.TunerBlock(-250e3, 200e3, 5), -- Translate -250 kHz, filter 200 kHz, decimate 5
21 | radio.FrequencyDiscriminatorBlock(1.25), -- Frequency demodulate with 1.25 modulation index
22 | radio.LowpassFilterBlock(128, 15e3), -- Low-pass filter 15 kHz for L+R audio
23 | radio.FMDeemphasisFilterBlock(75e-6), -- FM de-emphasis filter with 75 uS time constant
24 | radio.DownsamplerBlock(5), -- Downsample by 5
25 | radio.PulseAudioSink(1) -- Play to system audio with PulseAudio
26 | ):run()
27 |
28 | Check out some more [examples][7] of what you can build with LuaRadio.
29 |
30 | To install simply execute the following in a terminal:
31 | ```
32 | $ bash <(curl -s \
33 | https://raw.githubusercontent.com/marcelmaatkamp/docker-compose-applications/master/luaradio/bin/setup)
34 | ```
35 |
36 | [1]: http://luajit.org/
37 | [2]: http://luajit.org/ext_ffi.html
38 | [3]: http://libvolk.org/
39 | [4]: https://github.com/jgaeddert/liquid-dsp
40 | [5]: docs/comparison-gnuradio.html
41 | [6]: http://luaradio.io/docs/figures/flowgraph_rtlsdr_wbfm_mono_compact.png
42 | [7]: examples/
43 | [8]: http://www.fftw.org/
44 | [9]: http://www.rtl-sdr.com/about-rtl-sdr/
45 | [10]: docs/getting-started.html
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/luaradio/bin/link:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | <<<<<<< HEAD
3 | git clone --recursive git@github.com:marcelmaatkamp/docker-luaradio.git
4 | =======
5 | git submodule add https://github.com/marcelmaatkamp/docker-luaradio.git
6 | >>>>>>> origin/master
7 |
--------------------------------------------------------------------------------
/luaradio/bin/setup:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | git clone --recursive https://github.com/marcelmaatkamp/docker-compose-applications.git &&\
3 | cd docker-compose-applications/luaradio &&\
4 | docker-compose up
5 |
--------------------------------------------------------------------------------
/luaradio/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | luaradio:
6 | build: docker-luaradio
7 | # image: marcelmaatkamp/luaradio
8 | restart: always
9 | privileged: true
10 | volumes:
11 | - ./volumes/luaradio:/data
12 |
--------------------------------------------------------------------------------
/mattermost/.env:
--------------------------------------------------------------------------------
1 | IP_ADDRESS=11.22.33.44
2 |
--------------------------------------------------------------------------------
/mattermost/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | https-portal:
6 | image: steveltn/https-portal
7 | links:
8 | - mattermost-web
9 | ports:
10 | # - "80:80"
11 | - "443:443"
12 | restart: always
13 | volumes:
14 | - data-https:/var/lib/https-portal/
15 | - /var/run/docker.sock:/var/run/docker.sock
16 | environment:
17 | - IP_ADDRESS=11.22.33.44
18 | - DOMAINS=mattermost.${IP_ADDRESS}.xip.io -> http://mattermost-web
19 | # - STAGE="production"
20 | # - FORCE_RENEW="true"
21 |
22 | mattermost-db:
23 | image: mattermost/mattermost-prod-db
24 | hostname: db
25 | volumes:
26 | # - data-mattermost-data:/var/lib/postgresql/data
27 | - /etc/localtime:/etc/localtime:ro
28 |
29 | mattermost-app:
30 | image: mattermost/mattermost-prod-app
31 | hostname: app
32 | links:
33 | - mattermost-db:db
34 | volumes:
35 | - data-mattermost-config:/mattermost/config:rw
36 | - data-mattermost-data:/mattermost/data:rw
37 | - /etc/localtime:/etc/localtime:ro
38 |
39 | mattermost-web:
40 | image: mattermost/mattermost-prod-web
41 | hostname: web
42 | ports:
43 | - 80
44 | - 443
45 | links:
46 | - mattermost-app:app
47 | volumes:
48 | - data-mattermost-certs:/cert:ro
49 | - /etc/localtime:/etc/localtime:ro
50 | environment:
51 | - MATTERMOST_ENABLE_SSL=false
52 | - PLATFORM_PORT_80_TCP_PORT=80
53 |
54 | volumes:
55 | data-https:
56 | data-mattermost-data:
57 | data-mattermost-config:
58 | data-mattermost-certs:
59 |
--------------------------------------------------------------------------------
/messagebus/rabbitmq/amqps_mqtts/README.md:
--------------------------------------------------------------------------------
1 | # AMQPS and MQTTS with LetsEncrypt
2 |
3 | # Introduction
4 |
5 | AMQPS and MQTTS with automatic renewal of certificates from LetsEncrypt in Docker.
6 |
7 | # Start
8 |
9 | Start AMQPS on port 5671, MQTTS on port 8883 and the management interface of RabbitMQ on port 443
10 |
11 | ```
12 | DNS_MAPPER=pseudo.host IP_ADDRESS=12.34.56.78 docker-compose up
13 | ```
14 |
15 | # Test HTTPS
16 |
17 | Open a browser to https://rabbitmq.${IP_ADDRESS}.${DNS_MAPPER} or in this specific case https://rabbitmq.12.34.56.78.pseudo.host and check that you see the RabbitMQs management interface and that it has a valid SSL certificate.
18 |
19 | # Test AMPQPS
20 |
21 | ```
22 | docker-compose exec rabbitmq bash -c \
23 | 'openssl s_client -connect ${IP_ADDRESS}:5671 \
24 | -CAfile /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/chained.pem \
25 | -cert /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/signed.crt \
26 | -key /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/domain.key'
27 | ```
28 |
29 | # Test MQTTS
30 |
31 | ```
32 | docker-compose exec rabbitmq bash -c \
33 | 'openssl s_client -connect ${IP_ADDRESS}:8883 \
34 | -CAfile /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/chained.pem \
35 | -cert /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/signed.crt \
36 | -key /var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/domain.key'
37 | ```
38 |
39 | # rabbitmq.conf
40 |
41 | The rabbitmq.conf loads the the following certificates from https://github.com/SteveLTN/https-portal
42 |
43 | ```
44 | [
45 | {ssl, [{versions, ['tlsv1.2', 'tlsv1.1']}]},
46 | {rabbit, [
47 | {ssl_listeners, [5671]},
48 | {ssl_options, [
49 | {cacertfile,"/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/chained.pem"},
50 | {certfile, "/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/signed.crt"},
51 | {keyfile, "/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/domain.key"},
52 | {versions, ['tlsv1.2', 'tlsv1.1']}
53 | ]},
54 | {loopback_users, []}
55 | ]},
56 | {rabbitmq_mqtt, [
57 | {ssl_listeners, [8883]},
58 | {tcp_listeners, [1883]}
59 | ]}
60 | ].
61 | ```
62 |
--------------------------------------------------------------------------------
/messagebus/rabbitmq/amqps_mqtts/conf/rabbitmq.config:
--------------------------------------------------------------------------------
1 | [
2 | {ssl, [{versions, ['tlsv1.2', 'tlsv1.1']}]},
3 | {rabbit, [
4 | {ssl_listeners, [5671]},
5 | {ssl_options, [
6 | {cacertfile,"/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/chained.pem"},
7 | {certfile, "/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/signed.crt"},
8 | {keyfile, "/var/lib/https/rabbitmq.${IP_ADDRESS}.${DNS_MAPPER}/production/domain.key"},
9 | {versions, ['tlsv1.2', 'tlsv1.1']}
10 | ]},
11 | {loopback_users, []}
12 | ]},
13 | {rabbitmq_mqtt, [
14 | {ssl_listeners, [8883]},
15 | {tcp_listeners, [1883]}
16 | ]}
17 | ].
18 |
--------------------------------------------------------------------------------
/messagebus/rabbitmq/amqps_mqtts/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "2"
2 | services:
3 |
4 | https:
5 | image: steveltn/https-portal
6 | ports:
7 | - "80:80"
8 | - "443:443"
9 | links:
10 | - rabbitmq
11 | restart: always
12 | volumes:
13 | - https:/var/lib/https-portal
14 | - https:/var/www/vhosts
15 | environment:
16 | # - STAGE=local
17 | - STAGE=production
18 | - DOMAINS=rabbitmq.${IP_ADDRESS}.${DNS_MAPPER} -> http://rabbitmq:15672
19 |
20 | rabbitmq:
21 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
22 | restart: always
23 | hostname: rabbitmq
24 | command: bash -c "envsubst < /etc/rabbitmq/rabbitmq.config.envsubst > /etc/rabbitmq/rabbitmq.config && rabbitmq-server"
25 | ports:
26 | - 5671:5671
27 | - 8883:8883
28 | environment:
29 | - RABBITMQ_NODENAME=rabbitmq@rabbitmq
30 | - DNS_MAPPER=${DNS_MAPPER}
31 | - IP_ADDRESS=${IP_ADDRESS}
32 | volumes:
33 | - ./conf/rabbitmq.config:/etc/rabbitmq/rabbitmq.config.envsubst
34 | - rabbitmq:/var/lib/rabbitmq/mnesia
35 | - https:/var/lib/https
36 |
37 | volumes:
38 | rabbitmq:
39 | https:
40 |
--------------------------------------------------------------------------------
/nagios/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 | nagios:
4 | image: jasonrivers/nagios:latest
5 | ports:
6 | - 8090:80
7 | volumes:
8 | - ./objects/lon.cfg:/opt/nagios/etc/objects/lon.cfg
9 |
--------------------------------------------------------------------------------
/openvpn/.gitignore:
--------------------------------------------------------------------------------
1 | vpn
2 |
--------------------------------------------------------------------------------
/openvpn/README.md:
--------------------------------------------------------------------------------
1 | # OPENVPN
2 |
3 | Starts openvpn and builds a tunnel.
4 |
5 | ## Start
6 |
7 | Add your openvpn file 'client.ovpn' in vpn/ and start the service:
8 |
9 | ```
10 | docker-compose up ssh
11 | docker attach openvpn_openvpn_1
12 | ```
13 |
--------------------------------------------------------------------------------
/openvpn/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | openvpn:
5 | image: jkleczkowski/nginx-ovpn-client
6 | read_only: true
7 | tmpfs:
8 | - /tmp
9 | restart: unless-stopped
10 | command: openvpn --config /etc/openvpn/client.ovpn
11 | devices:
12 | - "/dev/net/tun:/dev/net/tun"
13 | cap_add:
14 | - NET_ADMIN
15 | security_opt:
16 | - label:disable
17 | stdin_open: true
18 | tty: true
19 | volumes:
20 | - ./vpn:/etc/openvpn
21 | - /dev/net:/dev/net:z
22 |
23 | ssh:
24 | image: jdeathe/centos-ssh:centos-7
25 | depends_on:
26 | - openvpn
27 | ports:
28 | - "2222:22"
29 | volumes:
30 | - ssh:/home/app-admin/.ssh/authorized_keys
31 |
32 | volumes:
33 | ssh:
34 |
--------------------------------------------------------------------------------
/ovpn/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | vpn:
5 | image: dperson/openvpn-client
6 | cap_add:
7 | - net_admin
8 | environment:
9 | TZ: 'Europe/Amsterdam'
10 | read_only: true
11 | tmpfs:
12 | - /tmp
13 | restart: unless-stopped
14 | security_opt:
15 | - label:disable
16 | stdin_open: true
17 | tty: true
18 | volumes:
19 | - /dev/net:/dev/net:z
20 |
--------------------------------------------------------------------------------
/pbx/fusionpbx/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | fusion:
5 | image: elagekanerepos/freeswitch
6 | ports:
7 | - 80/tcp
8 | - 443/tcp
9 | - 8021/tcp
10 | - 2812/tcp
11 | - 5060/tcp
12 | - 5060/udp
13 | - 5080/tcp
14 | - 5080/udp
15 | - 5061/tcp
16 | - 5061/udp
17 | - 5081/tcp
18 | - 5081/udp
19 | - 7443/tcp
20 |
--------------------------------------------------------------------------------
/post-hook/README.md:
--------------------------------------------------------------------------------
1 | http://www.windsock.io/automated-docker-image-builds-with-multiple-tags/
2 |
--------------------------------------------------------------------------------
/post-hook/hooks/post_push:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | # Parse image name for repo name
6 | tagStart=$(expr index "$IMAGE_NAME" :)
7 | repoName=${IMAGE_NAME:0:tagStart-1}
8 |
9 | # Tag and push image for each additional tag
10 | for tag in {16.04,latest}; do
11 | docker tag $IMAGE_NAME ${repoName}:${tag}
12 | docker push ${repoName}:${tag}
13 | done
14 |
--------------------------------------------------------------------------------
/registry/https/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | https:
5 | image: steveltn/https-portal
6 | ports:
7 | - "80:80"
8 | - "443:443"
9 | restart: always
10 | volumes:
11 | - https:/var/lib/https-portal
12 | - https:/var/www/vhosts
13 | environment:
14 | - STAGE=production
15 |
16 | registry:
17 | image: registry:2
18 | restart: always
19 | ports:
20 | - "5000:5000"
21 | environment:
22 | - REGISTRY_HTTP_TLS_CERTIFICATE=/etc/docker/certs.d/<>/production/chained.pem
23 | - REGISTRY_HTTP_TLS_KEY=/etc/docker/certs.d/<>/production/domain.key
24 | volumes:
25 | - registry:/var/lib/registry
26 | - https:/etc/docker/certs.d/
27 |
28 | volumes:
29 | https:
30 | registry:
31 |
--------------------------------------------------------------------------------
/registry/nexus/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | https:
5 | image: steveltn/https-portal
6 | restart: always
7 | ports:
8 | - "80:80"
9 | - "443:443"
10 | volumes:
11 | - https:/var/lib/https-portal
12 | - https:/var/www/vhosts
13 | environment:
14 | - STAGE=production
15 |
16 | # $ HOSTNAME=boe.bla.com docker-compose up -d https
17 | # $ docker-compose exec https bash
18 | # https$ openssl pkcs12 -inkey /var/lib/https-portal/traccar.omniresponse.com/production/domain.key -in /var/lib/https-portal/traccar.omniresponse.com/production/chained.pem -export -out /var/lib/https-portal/traccar.omniresponse.com/production/jetty.pkcs12
19 | # $ docker-compose run nexus ash
20 | # nexus$ /opt/sonatype/nexus # /usr/lib/jvm/java-1.8-openjdk/jre/bin/keytool -importkeystore -srckeystore /var/lib/https-portal/traccar.omniresponse.com/production/jetty.pkcs12 -srcstoretype PKCS12 -destkeystore /nexus-data/keystore.jks
21 | # (and choose a password like PASSWORD)
22 | nexus:
23 | image: clearent/nexus
24 | restart: always
25 | volumes:
26 | - nexus:/nexus-data
27 | - https:/var/lib/https-portal
28 | environment:
29 | - JKS_PASSWORD=<>
30 | ports:
31 | - 8443:8443
32 | - 5000:5000
33 |
34 | volumes:
35 | https:
36 | nexus:
37 |
--------------------------------------------------------------------------------
/repository/artifactory/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | artifactorty:
5 | image: jfrog-docker-reg2.bintray.io/jfrog/artifactory-oss:latest
6 | restart: always
7 | ports:
8 | - 9090:9090
9 | volumes:
10 | - ./volumes/artifactory/backup:/var/opt/jfrog/artifactory/backup
11 | - ./volumes/artifactory/data:/var/opt/jfrog/artifactory/data
12 | - ./volumes/artifactory/logs:/var/opt/jfrog/artifactory/logs
13 |
--------------------------------------------------------------------------------
/repository/nexus/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | https:
5 | image: steveltn/https-portal
6 | restart: always
7 | depends_on:
8 | - nexus
9 | links:
10 | - nexus:nexus
11 | ports:
12 | - "80:80"
13 | - "443:443"
14 | environment:
15 | - STAGE=local
16 | - WEBSOCKET=true
17 | - CLIENT_MAX_BODY_SIZE=0
18 | - DOMAINS=nexus -> http://nexus:18544
19 |
20 | nexus:
21 | image: sonatype/nexus3
22 | restart: always
23 | volumes:
24 | - nexus:/nexus-data
25 | ports:
26 | - 8093:8081
27 | - 18443:18443
28 | - 18444:18444
29 | - 18543:18543
30 | - 5000:18544
31 |
32 | volumes:
33 | nexus:
34 |
--------------------------------------------------------------------------------
/repository/nexus/nexus/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | https:
5 | image: steveltn/https-portal
6 | restart: always
7 | depends_on:
8 | - nexus
9 | links:
10 | - nexus:nexus
11 | ports:
12 | - "80:80"
13 | - "443:443"
14 | environment:
15 | - STAGE=local
16 | - WEBSOCKET=true
17 | - CLIENT_MAX_BODY_SIZE=0
18 | - DOMAINS=nexus -> http://nexus:18544
19 |
20 | nexus:
21 | image: sonatype/nexus3
22 | restart: always
23 | volumes:
24 | - nexus:/nexus-data
25 | ports:
26 | - 8093:8081
27 | - 18443:18443
28 | - 18444:18444
29 | - 18543:18543
30 | - 5000:18544
31 |
32 | volumes:
33 | nexus:
34 |
--------------------------------------------------------------------------------
/repository/nexus/ssl/.env:
--------------------------------------------------------------------------------
1 | NEXUS_KEYSTORE=/nexus-data
2 | KEYSTOREPASSWORD=changeit
3 | KEYMANAGERPASSWORD=changeit
4 | TRUSTSTOREPASSWORD=changeit
5 |
--------------------------------------------------------------------------------
/repository/nexus/ssl/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM clearent/nexus:latest
2 | MAINTAINER Marcel Maatkamp
3 |
4 | RUN sed 's|\(nexus-args=.*\)|\1,${jetty.etc}/jetty-https.xml|' -i /opt/sonatype/nexus/etc/nexus-default.properties \
5 | && echo 'application-port-ssl=8443' >> /opt/sonatype/nexus/etc/nexus-default.properties \
6 | && sed 's|\(\).*$|\1/keystore.jks|' \
7 | -i /opt/sonatype/nexus/etc/jetty/jetty-https.xml \
8 | && sed 's|\(\).*$|\1|' \
9 | -i /opt/sonatype/nexus/etc/jetty/jetty-https.xml \
10 | && sed 's|\(\).*$|\1|' \
11 | -i /opt/sonatype/nexus/etc/jetty/jetty-https.xml \
12 | && sed 's|\(\).*$|\1/keystore.jks|' \
13 | -i /opt/sonatype/nexus/etc/jetty/jetty-https.xml \
14 | && sed 's|\(\).*$|\1|' \
15 | -i /opt/sonatype/nexus/etc/jetty/jetty-https.xml
16 |
17 |
--------------------------------------------------------------------------------
/repository/nexus/ssl/README.md:
--------------------------------------------------------------------------------
1 | # Nexus + SS SSL
2 |
3 | ```
4 | docker-compose build
5 | docker-compose run nexus ash -c "keytool -genkeypair \
6 | -keystore ${NEXUS_KEYSTORE}/keystore.jks \
7 | -storepass ${KEYMANAGERPASSWORD} \
8 | -keypass ${KEYMANAGERPASSWORD} \
9 | -alias jetty -keyalg RSA -keysize 2048 -validity 5000 \
10 | -dname \"CN=*.local, OU=Example, O=Sonatype, L=Unspecified, ST=Unspecified, C=US\" \
11 | -ext \"SAN=DNS:nexus.local\" -ext \"BC=ca:true\""
12 | ```
13 |
--------------------------------------------------------------------------------
/repository/nexus/ssl/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | nexus:
6 | build: .
7 | restart: always
8 | volumes:
9 | - nexus:${NEXUS_KEYSTORE}
10 | environment:
11 | - NEXUS_KEYSTORE=/nexus-data
12 | - KEYSTOREPASSWORD=${KEYSTOREPASSWORD}
13 | - KEYMANAGERPASSWORD=${KEYMANAGERPASSWORD}
14 | - TRUSTSTOREPASSWORD=${TRUSTSTOREPASSWORD}
15 | - JKS_PASSWORD=${KEYSTOREPASSWORD}
16 | ports:
17 | - 8443:8443
18 | - 5000:5000
19 |
20 | volumes:
21 | nexus:
22 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/.env:
--------------------------------------------------------------------------------
1 | LOG_LEVEL=info
2 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node
2 | WORKDIR /project
3 | COPY conf/package.json package.json
4 | COPY src/start.js start.js
5 | RUN npm install
6 | CMD ["node","start.js"]
7 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/README.md:
--------------------------------------------------------------------------------
1 | # Seleca
2 |
3 | ## SSH
4 |
5 | ```
6 | docker-compose exec ssh sh -c "mkdir -p ~/.ssh && echo `cat ~/.ssh/id_rsa.pub` >> /home/app-admin/.ssh/authorized_keys"
7 | ```
8 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/conf/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "seneca-rabbitmq",
3 | "version": "1.0.0",
4 | "description": "Seneca Rabbitmq",
5 | "main": "start.js",
6 | "directories": {
7 | "doc": "docs"
8 | },
9 | "dependencies": {
10 | "winston": "^2.3.1",
11 | "mqtt": "~2.15.0",
12 | "convict": "^3.0.0",
13 | "lodash": "^4.17.4",
14 | "bluebird": "^3.5.0",
15 | "seneca": "^3.3.0",
16 | "seneca-amqp-transport": "^2.1.0"
17 | },
18 | "devDependencies": {
19 | "standard": "^10.0.2"
20 | },
21 | "engines": {
22 | "node": ">=4.0.0"
23 | },
24 | "scripts": {
25 | "test": "echo \"Error: no test specified\" && exit 1",
26 | "start": "node server.js"
27 | },
28 | "author": "edenb",
29 | "license": "MIT"
30 | }
31 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | ssh:
5 | image: jdeathe/centos-ssh:centos-7
6 | ports:
7 | - "2020:22"
8 |
9 | rabbitmq:
10 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
11 | restart: always
12 | hostname: rabbitmq
13 | environment:
14 | - RABBITMQ_NODENAME=rabbitmq@rabbitmq
15 | volumes:
16 | - rabbitmq:/var/lib/rabbitmq/mnesia
17 |
18 | seneca:
19 | build: .
20 | environment:
21 | - LOG_LEVEL=${LOG_LEVEL}
22 | - AMQP_URL=amqp://rabbitmq
23 |
24 | volumes:
25 | rabbitmq:
26 |
--------------------------------------------------------------------------------
/seneca/seneca-rabbitmq/src/start.js:
--------------------------------------------------------------------------------
1 | var convict = require('convict');
2 | var config = convict({
3 | log: {
4 | level: {
5 | doc: 'The winston log level',
6 | format: 'String',
7 | default: 'INFO',
8 | env: 'LOG_LEVEL'
9 | }
10 | },
11 | amqp: {
12 | url: {
13 | doc: '',
14 | format: 'String',
15 | default: 'amqp://rabbitmq',
16 | env: 'AMQP_URL'
17 | }
18 | }
19 | });
20 | config.validate({allowed: 'strict'})
21 |
22 | var winston = require('winston');
23 | var logger = new winston.Logger({
24 | level: config.get("log.level")
25 | });
26 |
27 |
28 | require('seneca')()
29 | .use('seneca-amqp-transport')
30 | .add('cmd:log,level:*', function(req, done) {
31 | console[req.level](req.message);
32 | return done(null, { ok: true, when: Date.now() });
33 | })
34 | .listen({
35 | type: 'amqp',
36 | pin: 'cmd:log,level:*',
37 | url: config.get("amqp.url")
38 | });
39 |
--------------------------------------------------------------------------------
/sniffer/isniff/README.md:
--------------------------------------------------------------------------------
1 | # iSniff-GPS
2 |
3 | ## Start
4 | ```
5 | $ airomon-ng start
6 | $ docker-compose up --build isniff
7 | ```
8 |
--------------------------------------------------------------------------------
/sniffer/isniff/bin/convert:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | yapf -r -i $*
3 |
--------------------------------------------------------------------------------
/sniffer/isniff/data/.gitignore:
--------------------------------------------------------------------------------
1 | *.pcap
2 |
--------------------------------------------------------------------------------
/sniffer/isniff/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 | isniff:
5 | build: iSniff-GPS/
6 | # privileged: true
7 | # network_mode: "host"
8 | # network_mode: none
9 | ports:
10 | - 8000:8000
11 | # devices:
12 | # - mon0
13 | cap_add:
14 | - ALL
15 | environment:
16 | - WIGLE_USERNAME=${WIGLE_USERNAME}
17 | - WIGLE_PASSWORD=${WIGLE_PASSWORD}
18 | volumes:
19 | - ./data:/data
20 |
21 | tor:
22 | image: goldy/tor-hidden-service
23 | # image: marcelmaatkamp/tor-hidden-service
24 | # image: strm/tor-hiddenservice-nginx
25 | links:
26 | - isniff
27 | environment:
28 | - ISNIFF_PORTS=80:8000
29 | volumes:
30 | - tor-keys:/var/lib/tor/hidden_service/
31 |
32 | ap:
33 | image: forcedinductionz/docker-ap
34 | privileged: true
35 | network_mode: "host"
36 | environment:
37 | - INTERFACE=wlx001f1fed5baa
38 | devices:
39 | - wlx001f1fed5baa
40 |
41 | volumes:
42 | tor-keys:
43 | driver: local
44 |
--------------------------------------------------------------------------------
/ssl/letsencrypt/multiple_sites_example/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "2"
2 | services:
3 |
4 | https:
5 | image: steveltn/https-portal
6 | ports:
7 | - "80:80"
8 | - "443:443"
9 | links:
10 | - rabbitmq
11 | - wordpress
12 | restart: always
13 | volumes:
14 | - https:/var/lib/https-portal
15 | - https:/var/www/vhosts
16 | environment:
17 | # - STAGE=local
18 | - STAGE=production
19 | - DOMAINS=rabbitmq.${IP_ADDRESS}.pseudo.host -> http://rabbitmq:15672, wordpress.${IP_ADDRESS}.pseudo.com -> http://wordpress
20 |
21 | wordpress:
22 | image: wordpress
23 | hostname: wordpress
24 | links:
25 | - mysql:mysql
26 |
27 | mysql:
28 | image: mariadb
29 | environment:
30 | MYSQL_ROOT_PASSWORD: 'mysecretpasswd'
31 |
32 | rabbitmq:
33 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
34 | restart: always
35 | hostname: rabbitmq
36 | ports:
37 | - 5671:5671
38 | environment:
39 | # - RABBITMQ_NODENAME=rabbitmq@rabbitmq.${IP_ADDRESS}.pseudo.host
40 | - RABBITMQ_NODENAME=rabbitmq@rabbitmq
41 | volumes:
42 | - rabbitmq:/var/lib/rabbitmq/mnesia
43 | - https:/var/lib/https
44 |
45 | volumes:
46 | rabbitmq:
47 | https:
48 |
--------------------------------------------------------------------------------
/thingsboard/.dockerignore:
--------------------------------------------------------------------------------
1 | cache/
2 |
--------------------------------------------------------------------------------
/thingsboard/.gitignore:
--------------------------------------------------------------------------------
1 | cache
2 | contrib/data/node_modules/
3 |
--------------------------------------------------------------------------------
/thingsboard/Dockerfile.build:
--------------------------------------------------------------------------------
1 | FROM frekele/maven:latest
2 |
3 | RUN apt-get update && apt-get install -y build-essential curl git unzip wget axel telnet vim &&\
4 | rm -rf /var/lib/apt/lists/* &&\
5 | curl -sL https://deb.nodesource.com/setup_6.x | bash - &&\
6 | apt-get install -y nodejs
7 |
--------------------------------------------------------------------------------
/thingsboard/Dockerfile.run:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright © 2016-2017 The Thingsboard Authors
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | FROM openjdk:8-jre
18 |
19 | ADD ./thingsboard/docker/thingsboard/run_thingsboard.sh /root/run_thingsboard.sh
20 | ADD ./thingsboard/application/target/thingsboard.deb /root/thingsboard.deb
21 |
22 | RUN chmod +x /root/run_thingsboard.sh
23 |
24 | WORKDIR /root
25 |
--------------------------------------------------------------------------------
/thingsboard/README.md:
--------------------------------------------------------------------------------
1 | # Thingsboard
2 |
3 | Use this to compile and run thningsboard.io from source
4 |
5 | # Installation
6 | Initially there are 3 steps: build the package, start and initialise the newly instantiated cassandra database with a new schema and start the application:
7 | ```
8 | bin/build
9 | bin/db
10 | bin/run
11 | ```
12 |
13 | After that modify code, build a new version and restart the app:
14 | ```
15 | bin/rebuild
16 | ```
17 |
18 |
--------------------------------------------------------------------------------
/thingsboard/bin/build:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker-compose -f docker-compose-build.yml up &&\
3 | docker-compose -f docker-compose-run.yml build
4 |
--------------------------------------------------------------------------------
/thingsboard/bin/db:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker-compose -f docker-compose-db.yml up -d db
3 |
--------------------------------------------------------------------------------
/thingsboard/bin/db-schema:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker-compose -f docker-compose-db.yml up thingsboard-db-schema
3 |
--------------------------------------------------------------------------------
/thingsboard/bin/rebuild:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker-compose -f docker-compose-run.yml stop thingsboard &&\
3 | docker-compose -f docker-compose-run.yml rm -f thingsboard &&\
4 | bin/build &&\
5 | docker-compose -f docker-compose-run.yml up -d thingsboard
6 |
--------------------------------------------------------------------------------
/thingsboard/bin/run:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker-compose -f docker-compose-run.yml up
3 |
--------------------------------------------------------------------------------
/thingsboard/contrib/data/attributes-data.json:
--------------------------------------------------------------------------------
1 | {"firmware_version":"1.0.1", "serial_number":"SN-001"}
--------------------------------------------------------------------------------
/thingsboard/contrib/data/mqtt-js.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Set Thingsboard host to "demo.thingsboard.io" or "localhost"
4 | export THINGSBOARD_HOST=localhost
5 | export THINGSBOARD_PORT=1883
6 |
7 | # Replace YOUR_ACCESS_TOKEN with one from Device credentials window.
8 | export ACCESS_TOKEN=A1_TEST_TOKEN
9 |
10 | # Read serial number and firmware version attributes
11 | ATTRIBUTES=$( cat attributes-data.json )
12 | export ATTRIBUTES
13 |
14 | # Read timeseries data as an object without timestamp (server-side timestamp will be used)
15 | TELEMETRY=$( cat telemetry-data.json )
16 | export TELEMETRY
17 |
18 | # publish attributes and telemetry data via mqtt client
19 | node publish.js
20 |
--------------------------------------------------------------------------------
/thingsboard/contrib/data/publish.js:
--------------------------------------------------------------------------------
1 | var mqtt = require('mqtt');
2 |
3 | console.log('Connecting to: %s using access token: %s', process.env.THINGSBOARD_HOST, process.env.ACCESS_TOKEN);
4 |
5 | var client = mqtt.connect('mqtt://'+ process.env.THINGSBOARD_HOST+":"+process.env.THINGSBOARD_PORT,{
6 | username: process.env.ACCESS_TOKEN,
7 | password: process.env.ACCESS_TOKEN
8 | });
9 |
10 | client.on('connect', function () {
11 | console.log('Client connected!');
12 | client.publish('v1/devices/me/attributes', process.env.ATTRIBUTES);
13 | console.log('Attributes published!');
14 | client.publish('v1/devices/me/telemetry', process.env.TELEMETRY);
15 | console.log('Telemetry published!');
16 | client.end();
17 | });
18 |
--------------------------------------------------------------------------------
/thingsboard/contrib/data/telemetry-data.json:
--------------------------------------------------------------------------------
1 | {"temperature":21, "humidity":55.0, "active": false}
2 |
--------------------------------------------------------------------------------
/thingsboard/docker-compose-build.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | thingsboard-build:
6 | build:
7 | context: .
8 | dockerfile: Dockerfile.build
9 | # command: bash -c 'cd /thingsboard && mvn package -pl application -am -Dmaven.test.skip=true'
10 | command: bash -c 'cd /thingsboard && mvn clean install'
11 | volumes:
12 | - ./cache/m2:/root/.m2
13 | - ./cache/npm:/root/.npm
14 | - ./cache/gradle:/root/.gradle
15 | # - ./cache/application:/thingsboard/application/target
16 | - ./thingsboard:/thingsboard
17 |
--------------------------------------------------------------------------------
/thingsboard/docker-compose-db.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | db:
6 | image: "cassandra:3.9"
7 | volumes:
8 | - ./cache/cassandra:/var/lib/cassandra"
9 |
10 | thingsboard-db-schema:
11 | image: "thingsboard/thingsboard-db-schema:1.0.1"
12 | env_file:
13 | - ./thingsboard/docker/thingsboard-db-schema.env
14 | volumes:
15 | - ./thingsboard/docker/thingsboard-db-schema/install_schema.sh:/install_schema.sh
16 | entrypoint: bash -c /install_schema.sh
17 |
--------------------------------------------------------------------------------
/thingsboard/docker-compose-run.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 |
3 | services:
4 |
5 | thingsboard:
6 | build:
7 | context: .
8 | dockerfile: Dockerfile.run
9 | image: anapsix/alpine-java
10 | # command: bash -c 'cd /thingsboard/application && java -jar thingsboard-1.1.0-SNAPSHOT-boot.jar'
11 | env_file:
12 | - ./thingsboard/docker/thingsboard.env
13 | environment:
14 | - MQTT_START_LOCAL_SERVER=false
15 | - MQTT_BIND_ADDRESS=rabbitmq
16 | entrypoint: ./run_thingsboard.sh
17 | volumes:
18 | - ./cache/application:/thingsboard/application
19 | - ./cache/log:/var/log/thingsboard/
20 | ports:
21 | - "8090:8080"
22 | - "1884:1883"
23 | - "5683:5683"
24 | external_links:
25 | - thingsboard_db_1:db
26 |
27 | zk:
28 | image: "zookeeper:3.4.9"
29 | restart: always
30 |
31 | rabbitmq:
32 | image: marcelmaatkamp/rabbitmq-mqtt-ldap
33 | restart: always
34 | hostname: rabbitmq
35 | environment:
36 | - RABBITMQ_NODENAME=rabbitmq
37 | volumes:
38 | - rabbitmq:/var/lib/rabbitmq/
39 | ports:
40 | - 15673:15672
41 | - 1883:1883
42 |
43 | volumes:
44 | rabbitmq:
45 |
--------------------------------------------------------------------------------
/tor/hidden_services/auth_hidden_services/README.md:
--------------------------------------------------------------------------------
1 | # Docker Tor Hidden Service with Client Authorization.
2 |
3 | Added functionality from https://github.com/cmehay/docker-tor-hidden-service to create a tor hidden service with client authorization enabled (see _HiddenServiceAuthorizeClient_ in the tor manual).
4 |
5 | ## Setup
6 |
7 | Create a `docker-compose.yml` with the services. In this case a `hello`-service and a `hidden`-service which makes hello container a hidden service:
8 | ```yaml
9 | version: '2'
10 | services:
11 |
12 | hello:
13 | image: "tutum/hello-world"
14 | hostname: "hello"
15 |
16 | tor:
17 | image: "marcelmaatkamp/tor-authenticated-hidden-service"
18 | build: "docker-tor-hidden-service/"
19 | links:
20 | - "hello"
21 | environment:
22 | HELLO_PORTS: "80:80"
23 | HELLO_AUTH: "0123456789"
24 | volumes:
25 | - "tor:/var/lib/tor/hidden_service"
26 |
27 | volumes:
28 | tor:
29 | ```
30 |
31 | The key to add to your `torrc` file in the tor browser can be extracted from the logfile when the hidden service starts:
32 | ```
33 | tor_1 | Entrypoint INFO hello: uifjb4bmt2ilpa2v.onion T3GgNOwr5ML5s5FGZsJ/CR # client: 0123456789:80
34 | tor_1 | Dec 01 14:36:51.682 [notice] Tor 0.2.9.5-alpha (git-330846ac087f7b32) running on Linux with Libevent 2.0.22-stable, OpenSSL 1.0.2j and Zlib 1.2.8.
35 | tor_1 | Dec 01 14:36:51.682 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
36 | tor_1 | Dec 01 14:36:51.682 [notice] This version is not a stable Tor release. Expect more bugs than usual.
37 | tor_1 | Dec 01 14:36:51.682 [notice] Read configuration file "/etc/tor/torrc".
38 | tor_1 | Dec 01 14:36:51.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
39 | tor_1 | Dec 01 14:36:51.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
40 | tor_1 | Dec 01 14:36:51.000 [notice] Bootstrapped 0%: Starting
41 | tor_1 | Dec 01 14:36:52.000 [notice] Bootstrapped 80%: Connecting to the Tor network
42 | tor_1 | Dec 01 14:36:52.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
43 | tor_1 | Dec 01 14:36:53.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
44 | tor_1 | Dec 01 14:36:53.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
45 | tor_1 | Dec 01 14:36:53.000 [notice] Bootstrapped 100%: Done
46 | ```
47 |
48 | Add it to the `torrc` file. On a Mac in the Tor Browser this file can be found in `/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/torrc-defaults`:
49 | ```
50 | ...
51 | HidServAuth uifjb4bmt2ilpa2v.onion T3GgNOwr5ML5s5FGZsJ/CR hello
52 | ```
53 |
54 | Restart the Tor Browser and go to http://uifjb4bmt2ilpa2v.onion
55 |
56 | See https://github.com/cmehay/docker-tor-hidden-service for more information about this container.
57 |
58 |
--------------------------------------------------------------------------------
/tor/hidden_services/auth_hidden_services/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | hello:
5 | image: "tutum/hello-world"
6 | hostname: "hello"
7 |
8 | tor:
9 | image: "marcelmaatkamp/tor-authenticated-hidden-service"
10 | build: "docker-tor-hidden-service/"
11 | links:
12 | - "hello"
13 | environment:
14 | HELLO_PORTS: "80:80"
15 | HELLO_AUTH: "0123456789"
16 | HELLO_KEY: |
17 | -----BEGIN RSA PRIVATE KEY-----
18 | MIICXQIBAAKBgQDR8TdQF9fDlGhy1SMgfhMBi9TaFeD12/FK27TZE/tYGhxXvs1C
19 | NmFJy1hjVxspF5unmUsCk0yEsvEdcAdp17Vynz6W41VdinETU9yXHlUJ6NyI32AH
20 | dnFnHEcsllSEqD1hPAAvMUWwSMJaNmBEFtl8DUMS9tPX5fWGX4w5Xx8dZwIDAQAB
21 | AoGBAMb20jMHxaZHWg2qTRYYJa8LdHgS0BZxkWYefnBUbZn7dOz7mM+tddpX6raK
22 | 8OSqyQu3Tc1tB9GjPLtnVr9KfVwhUVM7YXC/wOZo+u72bv9+4OMrEK/R8xy30XWj
23 | GePXEu95yArE4NucYphxBLWMMu2E4RodjyJpczsl0Lohcn4BAkEA+XPaEKnNA3AL
24 | 1DXRpSpaa0ukGUY/zM7HNUFMW3UP00nxNCpWLSBmrQ56Suy7iSy91oa6HWkDD/4C
25 | k0HslnMW5wJBANdz4ehByMJZmJu/b5y8wnFSqep2jmJ1InMvd18BfVoBTQJwGMAr
26 | +qwSwNXXK2YYl9VJmCPCfgN0o7h1AEzvdYECQAM5UxUqDKNBvHVmqKn4zShb1ugY
27 | t1RfS8XNbT41WhoB96MT9P8qTwlniX8UZiwUrvNp1Ffy9n4raz8Z+APNwvsCQQC9
28 | AuaOsReEmMFu8VTjNh2G+TQjgvqKmaQtVNjuOgpUKYv7tYehH3P7/T+62dcy7CRX
29 | cwbLaFbQhUUUD2DCHdkBAkB6CbB+qhu67oE4nnBCXllI9EXktXgFyXv/cScNvM9Y
30 | FDzzNAAfVc5Nmbmx28Nw+0w6pnpe/3m0Tudbq3nHdHfQ
31 | -----END RSA PRIVATE KEY-----
32 | volumes:
33 | - "tor:/var/lib/tor/hidden_service"
34 |
35 | volumes:
36 | tor:
37 |
--------------------------------------------------------------------------------
/xcessiv/README.md:
--------------------------------------------------------------------------------
1 | # XCESSIV
2 | A web-based application for quick, scalable, and automated hyperparameter tuning and stacked ensembling in Python.
3 | See http://xcessiv.readthedocs.io
4 |
5 | ## Installation
6 | ```
7 | $ docker-compose up -d
8 | $ docker-compose exec samba bash -c 'chmod a+rwx /data'
9 | ```
10 |
11 | ## Mount data partition
12 | ```
13 | $ mount_smbfs //rw@docker/data /Volumes/docker
14 | ```
15 |
16 | ## Start work
17 | http://docker:1994
18 |
--------------------------------------------------------------------------------
/xcessiv/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | services:
3 |
4 | redis:
5 | image: "redis:alpine"
6 |
7 | xcessiv:
8 | image: reiinakano/xcessiv
9 | command: bash -c "xcessiv -H redis -P 6379"
10 | ports:
11 | - "1994:1994"
12 | volumes:
13 | - xcessiv:/XcessivProjects
14 |
15 | samba:
16 | image: grossws/smbd
17 | ports:
18 | - "139:139"
19 | - "445:445"
20 | volumes:
21 | - xcessiv:/data
22 |
23 | volumes:
24 | xcessiv:
25 |
26 |
--------------------------------------------------------------------------------