Commit graph

14 commits

Author SHA1 Message Date
wvengen
0363f2dadc Improve Docker setup (PR #497) 2017-10-01 13:57:36 +02:00
Patrick Gansterer
d6325de35c Add support for RAILS_SERVE_STATIC_FILES to production.rb an use it with Docker 2017-08-08 23:27:28 +02:00
Patrick Gansterer
42b789d381 Create config/initializers/secret_token.rb in Dockerfile
Set the secret_token to ENV['SECRET_KEY_BASE'] in that file.
2017-08-08 23:27:28 +02:00
Patrick Gansterer
2c180cc9e8 Set BUNDLE_APP_CONFIG and DATABASE_URL in crontab when defined 2017-08-08 23:27:27 +02:00
Patrick Gansterer
3010dd2d90 Redirect log/production.log to /dev/stdout in Docker setup 2017-08-08 23:27:27 +02:00
Patrick Gansterer
5bc9becf9a Use a temporary mysql-server for assets precompilation during Docker build 2017-08-08 23:27:27 +02:00
Patrick Gansterer
c3a49e4260 Remove unused libraries and files from Docker image 2017-08-03 00:16:51 +02:00
Patrick Gansterer
5903b4d601 Use SOURCE_COMMIT environment variable for REVISION file during Docker build 2017-07-31 23:39:13 +02:00
Patrick Gansterer
64bda5da27 Create REVISION file for Docker container 2017-07-31 23:08:55 +02:00
Patrick Gansterer
fa32fc9229 Dockerfile for production 2017-07-31 23:08:55 +02:00
Patrick Gansterer
ad2f2c5ead Add missing dependency in Dockerfile 2016-10-14 18:14:41 +02:00
Benjamin Meichsner
0bdeaa1570 Updated Docker setup.
* Use ruby version 3
* Use bundle container
* Run rails commands as app user
2016-02-24 00:11:31 +01:00
Benjamin Meichsner
cda30a2353 Fixed binding of rails server in Dockerfile and compose config. 2015-05-15 20:23:53 +02:00
Benjamin Meichsner
83dd18eaa7 Added Dockersupport. See README_DOCKER.md for further instructions. 2015-04-26 15:20:05 +02:00