-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for running migrations on startup. Started a dockerfile…
…. Published the modified dep crates to Github.
- Loading branch information
1 parent
dc61387
commit a3af60d
Showing
7 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,26 @@ | ||
FROM liuchong/rustup:nightly | ||
MAINTAINER Pyry Kontio <[email protected]> | ||
|
||
RUN rustup install nightly-2016-11-06 | ||
|
||
RUN rustup default nightly-2016-11-06 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y git | ||
|
||
WORKDIR /opt | ||
|
||
RUN git clone https://github.com/golddranks/ganbare.git | ||
|
||
WORKDIR /opt/ganbare | ||
|
||
RUN cargo build --release | ||
|
||
ENV GANBARE_DATABASE_URL=postgres://drasa@localhost/ganbare_testing | ||
ENV GANBARE_BUILDTIME_PEPPER=4l1S1zMc0sqltaga/plxvzHcq0z+gQI5n7DL53jjy9E= | ||
ENV GANBARE_RUNTIME_PEPPER=4Y23isyrgd9ML/jJonemXNL0PnbMyerqnejHPBnDLaY= | ||
ENV GANBARE_SERVER_BINDING=localhost:8080 | ||
ENV GANBARE_SITE_DOMAIN=testing.ganba.re | ||
ENV GANBARE_EMAIL_DOMAIN=testing.ganba.re | ||
|
||
EXPOSE 8080 |
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
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