Commit graph

24 commits

Author SHA1 Message Date
Philipp Rothmann
c3c1219c3e fix: give docker user storge directory permissions for fileupload 2023-02-24 13:04:20 +01:00
Philipp Rothmann
82d4ff0284 improve dockerfile caching 2023-02-09 17:22:38 +01:00
Philipp Rothmann
c487f0368a upgrade dockerfile to rails7 2023-02-09 17:21:05 +01:00
Patrick Gansterer
f260e607bf Fix Dockerfile with Debian bullseye 2022-02-20 04:13:36 +01:00
Patrick Gansterer
19efd68c5f
Add support for ActiveStorage (PR #852) 2022-01-31 08:44:53 +01:00
Patrick Gansterer
899a83bec4 Rails 5.2 2020-09-05 14:40:11 +02:00
Patrick Gansterer
7e3c601a25 Update Ruby version to 2.6.6 2020-08-03 15:39:32 +02:00
Patrick Gansterer
a0d4fad4d8 Add multi_coop configuration via environment variable in docker setup
If the file app_config.defaults.yml exists in the working directory,
the content will be written to the config/app_config.yml and appended
by a configuration entry for every foodcoop in the space separated
environment variable FOODSOFT_FOODCOOPS.
2019-10-28 19:01:02 +01:00
Patrick Gansterer
ae11931ca5 Create database.yml via Dockerfile 2019-10-28 19:01:02 +01:00
wvengen
6d9c35db20 Move to apparition for integration tests 2019-10-28 17:58:14 +00:00
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