You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about/getting-started.md
+16-15Lines changed: 16 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -83,17 +83,17 @@ services:
83
83
# Set to your machine/container IP where m3u editor will be accessed, if not localhost
84
84
- REVERB_HOST=localhost # or 192.168.0.123 or your-custom-tld.com
85
85
- REVERB_SCHEME=http # or https if using custom TLD with https
86
-
- ENABLE_POSTGRES=true # <----- start here
87
-
- PG_DATABASE=${PG_DATABASE}# <----- DB name
88
-
- PG_USER=${PG_USER}# <----- DB user
89
-
- PG_PASSWORD=${PG_PASSWORD} # <----- DB password
90
-
- PG_PORT=${PG_PORT:-5432} # <----- DB port (optional, defaults to 5432)
91
-
- DB_CONNECTION=pgsql # <----- set to `pgsql` (default is `sqlite`)
92
-
- DB_HOST=localhost # <----- make sure set to `localhost`
93
-
- DB_PORT=${PG_PORT:-5432} # <----- using default Postgres port
94
-
- DB_DATABASE=${PG_DATABASE}# <----- should match `PG_DATABASE`
95
-
- DB_USERNAME=${PG_USER}# <----- should match `PG_USER`
96
-
- DB_PASSWORD=${PG_PASSWORD} # <----- should match `PG_PASSWORD`
86
+
- ENABLE_POSTGRES=true # <----- start here
87
+
- PG_DATABASE=${PG_DATABASE:-m3ue} # <----- DB name
88
+
- PG_USER=${PG_USER:-m3ue} # <----- DB user
89
+
- PG_PASSWORD=${PG_PASSWORD:-secret}# <----- DB password
90
+
- PG_PORT=${PG_PORT:-5432} # <----- DB port (optional, defaults to 5432)
91
+
- DB_CONNECTION=pgsql # <----- set to `pgsql` (default is `sqlite`)
92
+
- DB_HOST=localhost # <----- make sure set to `localhost`
93
+
- DB_PORT=${PG_PORT:-5432} # <----- using default Postgres port
94
+
- DB_DATABASE=${PG_DATABASE:-m3ue} # <----- should match `PG_DATABASE`
95
+
- DB_USERNAME=${PG_USER:-m3ue} # <----- should match `PG_USER`
96
+
- DB_PASSWORD=${PG_PASSWORD:-secret}# <----- should match `PG_PASSWORD`
97
97
volumes:
98
98
# This will allow you to reuse the data across container recreates
99
99
# Format is: <host_directory_path>:<container_path>
@@ -110,12 +110,13 @@ volumes:
110
110
pgdata: # <----- created named volume for Postgres store
111
111
```
112
112
113
-
then make sure to add `.env` variables in the root of project (where your `docker-compose.yaml` lives):
113
+
then make sure to add `.env` variables in the root of project (where your `docker-compose.yaml` lives) if you want to override the default values, e.g.:
0 commit comments