diff --git a/Dockerfile b/Dockerfile index 140ce2b..ea1e031 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # check=error=true # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand: -# docker build -t vault17 . +# docker build -t vault171 . # docker run -d -p 80:80 -e RAILS_MASTER_KEY= --name vault17 vault17 # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dd79a10..f29f444 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - <%= content_for(:title) || "Vault17" %> + <%= content_for(:title) || "Vault171" %> diff --git a/app/views/layouts/auth.html.erb b/app/views/layouts/auth.html.erb index 362f51b..b1fee66 100644 --- a/app/views/layouts/auth.html.erb +++ b/app/views/layouts/auth.html.erb @@ -1,10 +1,10 @@ - <%= content_for(:title) || "Vault17" %> + <%= content_for(:title) || "Vault171" %> - + <%= csrf_meta_tags %> <%= csp_meta_tag %> diff --git a/app/views/pwa/manifest.json.erb b/app/views/pwa/manifest.json.erb index 30c3ec7..810a17f 100644 --- a/app/views/pwa/manifest.json.erb +++ b/app/views/pwa/manifest.json.erb @@ -1,5 +1,5 @@ { - "name": "Vault17", + "name": "Vault171", "icons": [ { "src": "/icon.png", @@ -16,7 +16,7 @@ "start_url": "/", "display": "standalone", "scope": "/", - "description": "Vault17.", + "description": "Vault171.", "theme_color": "red", "background_color": "red" } diff --git a/config/application.rb b/config/application.rb index 28a89c4..3ea0a6b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -6,7 +6,7 @@ require "rails/all" # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) -module Vault17 +module Vault171 class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 8.1 diff --git a/config/deploy.yml b/config/deploy.yml index 9c3beaf..9f9e851 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -1,13 +1,13 @@ # Name of your application. Used to uniquely configure containers. -service: vault17 +service: vault171 # Name of the container image (use your-user/app-name on external registries). -image: vault17 +image: vault171 # Deploy to these servers. servers: web: - - 192.168.0.1 + - kamaldocker.fritz.box # job: # hosts: # - 192.168.0.1 @@ -20,9 +20,9 @@ servers: # # Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer). # -# proxy: -# ssl: true -# host: app.example.com +proxy: + ssl: false + host: vault171.daboh.ipv64.de # Where you keep your container images. registry: @@ -36,6 +36,11 @@ registry: # password: # - KAMAL_REGISTRY_PASSWORD +logging: + driver: json-file + options: + max-size: "10m" + # Inject ENV variables into containers (secrets come from .kamal/secrets). env: secret: @@ -52,7 +57,7 @@ env: # WEB_CONCURRENCY: 2 # Match this to any external database server to configure Active Record correctly - # Use vault17-db for a db accessory server on same machine via local kamal docker network. + # Use vault171-db for a db accessory server on same machine via local kamal docker network. # DB_HOST: 192.168.0.2 # Log everything from Rails @@ -69,7 +74,7 @@ aliases: # Use a persistent storage volume for sqlite database files and local Active Storage files. # Recommended to change this to a mounted volume path that is backed up off server. volumes: - - "vault17_storage:/rails/storage" + - "/opt/docker/vault171/storage:/rails/storage" # Bridge fingerprinted assets, like JS and CSS, between versions to avoid # hitting 404 on in-flight requests. Combines all files from new and old