Dockerfile and Docker compose

This commit is contained in:
Christoph Walther
2024-07-16 14:03:13 +02:00
parent 843daf8a35
commit ca84202168
12 changed files with 393 additions and 12 deletions

26
config/secrets.yml.docker Normal file
View File

@ -0,0 +1,26 @@
# Shared secrets are available across all environments.
# shared:
# api_key: a1B2c3D4e5F6
# Environmental secrets are only available for that specific environment.
default: &default
secret_key_base: CHANGE_ME
admin:
email: <%= ENV['ADMIN_MAIL'] %>
password: <%= ENV['ADMIN_PASSWORD'] %>
development:
<<: *default
test:
<<: *default
# Do not keep production secrets in the unencrypted secrets file.
# Instead, either read values from the environment.
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
# and move the `production:` environment over there.
production:
<<: *default