Add nocodb

This commit is contained in:
Florent Guiotte 2025-02-04 16:40:00 +01:00
parent 3e065051b9
commit ad9fbf3bdb
7 changed files with 86 additions and 1 deletions

View File

@ -26,4 +26,4 @@ pad.guiotte.fr. IN CNAME dm.guiotte.fr.
home.guiotte.fr. IN CNAME dm.guiotte.fr.
zotero.guiotte.fr. IN CNAME dm.guiotte.fr.
git.guiotte.fr. IN CNAME dm.guiotte.fr.
git-old.guiotte.fr. IN CNAME dm.guiotte.fr.
db.guiotte.fr. IN CNAME dm.guiotte.fr.

Binary file not shown.

View File

@ -374,6 +374,37 @@ services:
- gitea-db-root-pw
- gitea-db-pw
nocodb:
image: nocodb/nocodb:latest
container_name: nocodb
restart: unless-stopped
environment:
<<: *common-environment
NC_DB_JSON_FILE: /run/secrets/nocodb-json
volumes:
- nocodb-data:/usr/app/data
secrets:
- nocodb-json
nocodb-db:
image: linuxserver/mariadb:latest
container_name: nocodb-db
restart: unless-stopped
environment:
<<: *common-environment
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/nocodb-db-root-pw
FILE__MYSQL_PASSWORD: /run/secrets/nocodb-db-pw
MYSQL_DATABASE: nocodb
MYSQL_USER: nocodb
volumes:
- nocodb-db:/config
secrets:
- nocodb-db-root-pw
- nocodb-db-pw
volumes:
money-data:
lychee-db:
@ -396,6 +427,9 @@ volumes:
jackett-config:
sync-audrey:
sync-notes:
nocodb:
nocodb-data:
nocodb-db:
secrets:
@ -419,3 +453,9 @@ secrets:
file: gitea-db-root-pw.secret
gitea-db-pw:
file: gitea-db-pw.secret
nocodb-db-root-pw:
file: nocodb-db-root-pw.secret
nocodb-db-pw:
file: nocodb-db-pw.secret
nocodb-json:
file: nocodb-json.secret

BIN
nocodb-db-pw.secret Normal file

Binary file not shown.

BIN
nocodb-db-root-pw.secret Normal file

Binary file not shown.

BIN
nocodb-json.secret Normal file

Binary file not shown.

View File

@ -0,0 +1,45 @@
## Version 2024/07/16
# make sure that your nocodb container is named nocodb
# make sure that your dns has a cname set for nocodb
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name db.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
# enable for ldap auth (requires ldap-location.conf in the location block)
#include /config/nginx/ldap-server.conf;
# enable for Authelia (requires authelia-location.conf in the location block)
#include /config/nginx/authelia-server.conf;
# enable for Authentik (requires authentik-location.conf in the location block)
#include /config/nginx/authentik-server.conf;
location / {
# enable the next two lines for http auth
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable for ldap auth (requires ldap-server.conf in the server block)
#include /config/nginx/ldap-location.conf;
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app nocodb;
set $upstream_port 8080;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}