mirror of
https://github.com/p-stream/docs.git
synced 2026-03-11 09:45:39 +00:00
Update deploy.mdx
This commit is contained in:
parent
8e3a774cac
commit
4e305ee566
1 changed files with 26 additions and 26 deletions
|
|
@ -21,32 +21,32 @@ This method provides a straightforward setup with minimal configuration. For mor
|
|||
<Steps.Step>
|
||||
**Create `docker-compose.yml`:**
|
||||
```yaml
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: pstream_user
|
||||
POSTGRES_DB: pstream
|
||||
POSTGRES_PASSWORD: YourPasswordHere
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- p-stream-network
|
||||
p-stream:
|
||||
image: ghcr.io/dumbutdumber/backend:latest
|
||||
environment:
|
||||
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
||||
CRYPTO_SECRET: 32CharacterLongStringHere
|
||||
META_NAME: unofficial-backend
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- p-stream-network
|
||||
networks:
|
||||
p-stream-network:
|
||||
driver: bridge
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: pstream_user
|
||||
POSTGRES_DB: pstream
|
||||
POSTGRES_PASSWORD: YourPasswordHere
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- p-stream-network
|
||||
p-stream:
|
||||
image: ghcr.io/dumbutdumber/backend:latest
|
||||
environment:
|
||||
DATABASE_URL: postgresql://pstream_user:YourPasswordHere@postgres:5432/pstream
|
||||
CRYPTO_SECRET: 32CharacterLongStringHere
|
||||
META_NAME: unofficial-backend
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- p-stream-network
|
||||
networks:
|
||||
p-stream-network:
|
||||
driver: bridge
|
||||
```
|
||||
**Important:**
|
||||
* Replace `YourPasswordHere` with your secure database password.
|
||||
|
|
|
|||
Loading…
Reference in a new issue