Alashov rebase plx?

This commit is contained in:
renzynx 2022-12-18 15:35:56 +07:00
parent 61526c6c47
commit 6094522ee1
2 changed files with 33 additions and 5 deletions

View File

@ -2,6 +2,32 @@
This guide assumes you have a domain name and a server and have basic knowledge of how to use linux.
<details>
<summary>Expand for docker installation steps</summary>
## Requirements
- `docker` and `docker compose` installed
Copy and paste the following into your terminal:
```bash
git clone https://github.com/renzynx/bliss.git
cd bliss
```
Fill in the `docker-compose.yml` environment with the appropriate values.
```bash
docker compose up -d
```
</details>
<details>
<summary>Expand for manual installation steps</summary>
## Requirements
- `node` version 16.16.0 or higher
@ -53,6 +79,8 @@ yarn build
pm2 start "yarn start" --name "bliss-web"
```
</details>
### Domain name and SSL configuration
If you don't have caddy installed already

View File

@ -1,18 +1,18 @@
version: '3.9'
services:
api:
image: renzynx/bliss:latest
image: ghcr.io/renzynx/bliss:latest
container_name: bliss_api
restart: always
environment:
- NODE_ENV=development
- NODE_ENV=production
- DATABASE_URL=postgresql://postgres:postgrespw@postgres:5432/postgres
- REDIS_URL=redis://redis:6379
# should be your frontend domain
# e.g. https://amog-us.club
- CORS_ORIGIN=http://localhost:5000
- CORS_ORIGIN=
# just smash random keys on your keyboard or use a password generator
- SESSION_SECRET=4289h8c923j328j8d23uj
- SESSION_SECRET=
# set to "true" if you want to use email verification
- USE_MAIL=false
- MAIL_HOST=
@ -45,7 +45,7 @@ services:
- ./thumbnails:/app/thumbnails
web:
image: renzynx/web:latest
image: ghcr.io/renzynx/web:latest
container_name: bliss_web
restart: always
environment: