mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-29 13:34:40 +08:00
[improvement][docker]Facilitate database configuration when running with docker.
This commit is contained in:
@@ -30,10 +30,12 @@ services:
|
||||
privileged: true
|
||||
container_name: supersonic_standalone
|
||||
environment:
|
||||
DB_HOST: supersonic_postgres
|
||||
DB_NAME: postgres
|
||||
DB_USERNAME: supersonic_user
|
||||
DB_PASSWORD: supersonic_password
|
||||
S2_DB_TYPE: postgres
|
||||
S2_DB_HOST: supersonic_postgres
|
||||
S2_DB_PORT: 5432
|
||||
S2_DB_DATABASE: postgres
|
||||
S2_DB_USER: supersonic_user
|
||||
S2_DB_PASSWORD: supersonic_password
|
||||
ports:
|
||||
- "9080:9080"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user