-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SpongeAuth fails to connect to the DB currently but we're getting there. Signed-off-by: Jadon Fowler <[email protected]>
- Loading branch information
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This is created in the Dockerfile | ||
conf/application.conf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu:latest | ||
|
||
MAINTAINER Jadon Fowler <[email protected]> | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y default-jdk | ||
|
||
# Install Activator | ||
RUN apt-get install -y unzip curl | ||
RUN curl -O http://downloads.typesafe.com/typesafe-activator/1.3.6/typesafe-activator-1.3.6.zip | ||
RUN unzip typesafe-activator-1.3.6.zip -d / && rm typesafe-activator-1.3.6.zip && chmod a+x /activator-dist-1.3.6/activator | ||
ENV PATH $PATH:/activator-dist-1.3.6 | ||
|
||
# Copy Ore | ||
RUN mkdir -p /home/play/ore/ | ||
WORKDIR /home/play/ore/ | ||
ADD . /home/play/ore/ | ||
|
||
# Ore runs on port 9000 | ||
# 8888 is the Activator UI | ||
EXPOSE 9000 | ||
|
||
RUN cp conf/application.conf.template conf/application.conf | ||
|
||
CMD ["activator", "run"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: "2" | ||
|
||
services: | ||
app: | ||
build: . | ||
ports: | ||
- "9000:9000" | ||
links: | ||
- "db" | ||
- "spongeauth" | ||
db: | ||
image: postgres:9.6 | ||
environment: | ||
POSTGRES_USER: spongeauth | ||
POSTGRES_PASSWORD: spongeauth | ||
POSTGRES_DB: spongeauth | ||
spongeauth: | ||
image: spongepowered/spongeauth | ||
|