Fixed wrong app name and set kamal config
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# check=error=true
|
# check=error=true
|
||||||
|
|
||||||
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
|
# 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
|
# 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
|
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="application-name" content="Vault17">
|
<meta name="application-name" content="Vault17">
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<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">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= csp_meta_tag %>
|
<%= csp_meta_tag %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Vault17",
|
"name": "Vault171",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/icon.png",
|
"src": "/icon.png",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
"description": "Vault17.",
|
"description": "Vault171.",
|
||||||
"theme_color": "red",
|
"theme_color": "red",
|
||||||
"background_color": "red"
|
"background_color": "red"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ require "rails/all"
|
|||||||
# you've limited to :test, :development, or :production.
|
# you've limited to :test, :development, or :production.
|
||||||
Bundler.require(*Rails.groups)
|
Bundler.require(*Rails.groups)
|
||||||
|
|
||||||
module Vault17
|
module Vault171
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Initialize configuration defaults for originally generated Rails version.
|
# Initialize configuration defaults for originally generated Rails version.
|
||||||
config.load_defaults 8.1
|
config.load_defaults 8.1
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
# Name of your application. Used to uniquely configure containers.
|
# 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).
|
# Name of the container image (use your-user/app-name on external registries).
|
||||||
image: vault17
|
image: vault171
|
||||||
|
|
||||||
# Deploy to these servers.
|
# Deploy to these servers.
|
||||||
servers:
|
servers:
|
||||||
web:
|
web:
|
||||||
- 192.168.0.1
|
- kamaldocker.fritz.box
|
||||||
# job:
|
# job:
|
||||||
# hosts:
|
# hosts:
|
||||||
# - 192.168.0.1
|
# - 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).
|
# Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer).
|
||||||
#
|
#
|
||||||
# proxy:
|
proxy:
|
||||||
# ssl: true
|
ssl: false
|
||||||
# host: app.example.com
|
host: vault171.daboh.ipv64.de
|
||||||
|
|
||||||
# Where you keep your container images.
|
# Where you keep your container images.
|
||||||
registry:
|
registry:
|
||||||
@@ -36,6 +36,11 @@ registry:
|
|||||||
# password:
|
# password:
|
||||||
# - KAMAL_REGISTRY_PASSWORD
|
# - KAMAL_REGISTRY_PASSWORD
|
||||||
|
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
|
||||||
# Inject ENV variables into containers (secrets come from .kamal/secrets).
|
# Inject ENV variables into containers (secrets come from .kamal/secrets).
|
||||||
env:
|
env:
|
||||||
secret:
|
secret:
|
||||||
@@ -52,7 +57,7 @@ env:
|
|||||||
# WEB_CONCURRENCY: 2
|
# WEB_CONCURRENCY: 2
|
||||||
|
|
||||||
# Match this to any external database server to configure Active Record correctly
|
# 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
|
# DB_HOST: 192.168.0.2
|
||||||
|
|
||||||
# Log everything from Rails
|
# Log everything from Rails
|
||||||
@@ -69,7 +74,7 @@ aliases:
|
|||||||
# Use a persistent storage volume for sqlite database files and local Active Storage files.
|
# 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.
|
# Recommended to change this to a mounted volume path that is backed up off server.
|
||||||
volumes:
|
volumes:
|
||||||
- "vault17_storage:/rails/storage"
|
- "/opt/docker/vault171/storage:/rails/storage"
|
||||||
|
|
||||||
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
|
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
|
||||||
# hitting 404 on in-flight requests. Combines all files from new and old
|
# hitting 404 on in-flight requests. Combines all files from new and old
|
||||||
|
|||||||
Reference in New Issue
Block a user