Skip to content

Commit d302712

Browse files
committed
Initial commit
0 parents  commit d302712

File tree

5 files changed

+92
-0
lines changed

5 files changed

+92
-0
lines changed

.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# IDEs
2+
.idea/
3+
.vscode/
4+
5+
# The directory Mix will write compiled artifacts to.
6+
/_build/
7+
8+
# If you run "mix test --cover", coverage assets end up here.
9+
/cover/
10+
11+
# Logging files
12+
/log/
13+
*/log/
14+
15+
# The directory Mix downloads your dependencies sources to.
16+
/deps/
17+
18+
# Where 3rd-party dependencies like ExDoc output generated docs.
19+
/doc/
20+
21+
# Ignore .fetch files in case you like to edit your project deps locally.
22+
/.fetch
23+
24+
# If the VM crashes, it generates a dump, let's ignore it too.
25+
erl_crash.dump
26+
27+
# Also ignore archive artifacts (built via "mix archive.build").
28+
*.ez

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM elixir:1.6.2
2+
3+
COPY matchmaking /app
4+
WORKDIR /app

LICENSE

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2018, Open Matchmaking
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# microservice-matchmaking
2+
Matchmaking microservice

docker-compose.dev.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: "2"
2+
3+
networks:
4+
app-tier:
5+
driver: bridge
6+
7+
services:
8+
9+
app:
10+
build:
11+
context: .
12+
dockerfile: ./Dockerfile
13+
image: microservice-matchmaking
14+
volumes:
15+
- ./matchmaking:/app/
16+
networks:
17+
- app-tier
18+
tty: true
19+
20+
rabbitmq:
21+
image: "bitnami/rabbitmq:latest"
22+
ports:
23+
- 5672:5672
24+
- 15672:15672
25+
environment:
26+
- RABBITMQ_USERNAME=user
27+
- RABBITMQ_PASSWORD=password
28+
networks:
29+
- app-tier

0 commit comments

Comments
 (0)