refactor: self hosting setup (#411)

* merge-commit: self hosted updates

* dev: updates in self hosting setup

* dev: update script to get the instance IP

* dev: update script to generate backend secret key
This commit is contained in:
pablohashescobar
2023-03-09 20:49:12 +05:30
committed by GitHub
parent e3e57df4a2
commit 0416e07f46
7 changed files with 57 additions and 43 deletions

View File

@@ -9,10 +9,10 @@ services:
ports:
- 80:80
depends_on:
# - plane-web
- plane-web
- plane-api
db:
image: postgres:12-alpine
image: postgres:15.2-alpine
container_name: db
restart: always
volumes:
@@ -20,7 +20,8 @@ services:
environment:
POSTGRES_USER: plane
POSTGRES_DB: plane
POSTGRES_PASSWORD: plane
POSTGRES_PASSWORD: xyzzyspoon
PGDATA : /var/lib/postgresql/data
command: postgres -c 'max_connections=1000'
ports:
- 5432:5432