mirror of
https://github.com/p-stream/docs.git
synced 2026-01-11 20:10:34 +00:00
Update selfhost.mdx
This commit is contained in:
parent
ab088f6aff
commit
8e3a774cac
1 changed files with 23 additions and 23 deletions
|
|
@ -14,29 +14,29 @@
|
|||
Create a new file named `docker-compose.yml` in your project directory and paste the following content into it:
|
||||
|
||||
```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
|
||||
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
|
||||
|
||||
p-stream-frontend:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Reference in a new issue