Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cloud): nocodb #1261

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions cloud/classic/nocodb/compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
networks:
alwatr-private-network:
name: alwatr-private-network
external: true
alwatr-public-network:
name: alwatr-public-network
external: true

services:
nocodb:
image: nocodb/nocodb:latest

cpu_shares: 256
mem_limit: 256m

stop_grace_period: 5s

restart: unless-stopped

networks:
- alwatr-private-network
- alwatr-public-network

env_file: .env

volumes:
- type: bind
source: ./_data
target: /usr/app/data
bind:
create_host_path: true

logging:
driver: json-file
options:
max-size: '10m'
max-file: '2'

labels:
traefik.enable: true
traefik.port: 8080
traefik.frontend.rule: Host:${DOMAIN}
traefik.frontend.entryPoints: http, https
traefik.frontend.redirect.entryPoint: https
3 changes: 3 additions & 0 deletions cloud/classic/nocodb/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

source ../lib/deploy.sh
5 changes: 5 additions & 0 deletions cloud/classic/nocodb/env/srv1.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
U2FsdGVkX18vyF54kCyXgPb1kWwL1OnkDsm4jT1QymfyrV0LpNmBzXcA/yBJSAgn
0mpS4j5xzcux5zidaZ7IGYW9HQ+oUongjO/1y6WUnFckzn/d6Ytsl1IaT8uuDBqy
I+TMNIskJz2k2W4Dw8C3si6a2dElrv0lnwT1HtcjTJXdKkLflEXFU1xkC5eXNwNd
dzGxkvBsxyTds3YZrwqQcA+zWiJggBlmfW7dkcfrshl7MKbb88Ozx+70JpEzwZui
DxKTzncz8v78qmw8OTQnvutEZeybUyFsf+7LnK3PuGg=