Fixed wrong app name and set kamal config
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-25 02:03:54 +02:00
parent 04f48acf95
commit 3f0d1d1a8d
6 changed files with 20 additions and 15 deletions

View File

@@ -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=<value from config/master.key> --name vault17 vault17
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title><%= content_for(:title) || "Vault17" %></title>
<title><%= content_for(:title) || "Vault171" %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="Vault17">

View File

@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title><%= content_for(:title) || "Vault17" %></title>
<title><%= content_for(:title) || "Vault171" %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="Vault17">
<meta name="application-name" content="Vault171">
<meta name="mobile-web-app-capable" content="yes">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

View File

@@ -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"
}

View File

@@ -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

View File

@@ -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