mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Move config inline
This commit is contained in:
parent
c329b30e49
commit
4cdc72bc29
@ -14,10 +14,12 @@ services:
|
||||
environment:
|
||||
# Pass-in the config to connect to the DB and MinIO
|
||||
ENTE_CREDENTIALS_FILE: /credentials.yaml
|
||||
configs:
|
||||
- source: credentials_yaml
|
||||
target: /credentials.yaml
|
||||
volumes:
|
||||
- custom-logs:/var/logs
|
||||
- ./museum.yaml:/museum.yaml:ro
|
||||
- ./scripts/compose/credentials.yaml:/credentials.yaml:ro
|
||||
- ./data:/data:ro
|
||||
networks:
|
||||
- internal
|
||||
@ -89,6 +91,38 @@ services:
|
||||
mc mb -p scw-eu-fr-v3
|
||||
'
|
||||
|
||||
configs:
|
||||
credentials_yaml:
|
||||
content: |
|
||||
db:
|
||||
host: postgres
|
||||
port: 5432
|
||||
name: ente_db
|
||||
user: pguser
|
||||
password: pgpass
|
||||
|
||||
s3:
|
||||
are_local_buckets: true
|
||||
b2-eu-cen:
|
||||
key: changeme
|
||||
secret: changeme1234
|
||||
endpoint: localhost:3200
|
||||
region: eu-central-2
|
||||
bucket: b2-eu-cen
|
||||
wasabi-eu-central-2-v3:
|
||||
key: changeme
|
||||
secret: changeme1234
|
||||
endpoint: localhost:3200
|
||||
region: eu-central-2
|
||||
bucket: wasabi-eu-central-2-v3
|
||||
compliance: false
|
||||
scw-eu-fr-v3:
|
||||
key: changeme
|
||||
secret: changeme1234
|
||||
endpoint: localhost:3200
|
||||
region: eu-central-2
|
||||
bucket: scw-eu-fr-v3
|
||||
|
||||
volumes:
|
||||
custom-logs:
|
||||
postgres-data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user