Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
webschlocker3
Commits
407641dd
Commit
407641dd
authored
Apr 19, 2016
by
Michał 'rysiek' Woźniak
Browse files
initial import
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
Dockerfile
Dockerfile
+29
-0
webschleuder.yml
webschleuder.yml
+23
-0
No files found.
Dockerfile
0 → 100644
View file @
407641dd
FROM
ruby
MAINTAINER
Friedrich Lindenberg <pudo@occrp.org>, Michał Woźniak <rysiek@occrp.org>
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
install
-y
\
libmagic-dev
\
libgpgme11-dev
\
wget
\
git
\
git-core
\
--no-install-recommends
&&
rm
-rf
/var/lib/apt/lists/
*
# get and install schleuder-conf
RUN
git clone https://git.codecoop.org/schleuder/schleuder-conf.git /opt/schleuder-conf
&&
\
cd
/opt/schleuder-conf
&&
\
bundle
install
--without
development
RUN
git clone https://git.codecoop.org/schleuder/webschleuder3.git /opt/webschleuder3
&&
\
cd
/opt/schleuder-conf
&&
\
cd
/opt/webschleuder3
&&
\
bin/setup
# && cp -R /webschleuder/config /webschleuder/config.tmpl
COPY
webschleuder.yml /opt/webschleuder3/config/webschleuder.yml
WORKDIR
/opt/webschleuder3
EXPOSE
3000
CMD
SECRET_KEY_BASE="$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )" bundle exec rails server -b 0.0.0.0 -e production
\ No newline at end of file
webschleuder.yml
0 → 100644
View file @
407641dd
defaults
:
&defaults
web_hostname
:
example.org
schleuderd_uri
:
http://schlocker:4567/
mailer_from
:
noreply@example.org
# For delivery_method, sendmail_settings and smtp_settings see
# <http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration>.
delivery_method
:
sendmail
sendmail_settings
:
arguments
:
'
-t
-i
-f'
smtp_settings
:
address
:
localhost
port
:
25
#openssl_verify_mode: none
test
:
<<
:
*defaults
development
:
<<
:
*defaults
web_hostname
:
0.0.0.0:3000
production
:
<<
:
*defaults
web_hostname
:
0.0.0.0:3000
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment