mirror of
https://github.com/p-stream/docs.git
synced 2026-03-11 17:55:39 +00:00
commit
e82d73de3e
2 changed files with 49 additions and 49 deletions
|
|
@ -78,32 +78,32 @@ This method provides a straightforward setup with minimal configuration. For mor
|
||||||
<Steps.Step>
|
<Steps.Step>
|
||||||
**Create `docker-compose.yml`:**
|
**Create `docker-compose.yml`:**
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: pstream_user
|
POSTGRES_USER: pstream_user
|
||||||
POSTGRES_DB: pstream
|
POSTGRES_DB: pstream
|
||||||
POSTGRES_PASSWORD: YourPasswordHere
|
POSTGRES_PASSWORD: YourPasswordHere
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
networks:
|
networks:
|
||||||
- p-stream-network
|
- p-stream-network
|
||||||
p-stream:
|
p-stream:
|
||||||
image: ghcr.io/dumbutdumber/backend:latest
|
image: ghcr.io/dumbutdumber/backend:latest
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
||||||
CRYPTO_SECRET: 32CharacterLongStringHere
|
CRYPTO_SECRET: 32CharacterLongStringHere
|
||||||
META_NAME: unofficial-backend
|
META_NAME: unofficial-backend
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
networks:
|
||||||
- p-stream-network
|
- p-stream-network
|
||||||
networks:
|
networks:
|
||||||
p-stream-network:
|
p-stream-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
```
|
```
|
||||||
**Important:**
|
**Important:**
|
||||||
* Replace `YourPasswordHere` with your secure database password.
|
* Replace `YourPasswordHere` with your secure database password.
|
||||||
|
|
|
||||||
|
|
@ -14,29 +14,29 @@
|
||||||
Create a new file named `docker-compose.yml` in your project directory and paste the following content into it:
|
Create a new file named `docker-compose.yml` in your project directory and paste the following content into it:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: pstream_user
|
POSTGRES_USER: pstream_user
|
||||||
POSTGRES_DB: pstream
|
POSTGRES_DB: pstream
|
||||||
POSTGRES_PASSWORD: YourPasswordHere
|
POSTGRES_PASSWORD: YourPasswordHere
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
networks:
|
networks:
|
||||||
- p-stream-network
|
- p-stream-network
|
||||||
p-stream:
|
p-stream:
|
||||||
image: ghcr.io/dumbutdumber/backend:latest
|
image: ghcr.io/dumbutdumber/backend:latest
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
||||||
CRYPTO_SECRET: 32CharacterLongStringHere
|
CRYPTO_SECRET: 32CharacterLongStringHere
|
||||||
META_NAME: unofficial-backend
|
META_NAME: unofficial-backend
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
networks:
|
||||||
- p-stream-network
|
- p-stream-network
|
||||||
|
|
||||||
p-stream-frontend:
|
p-stream-frontend:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue