mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-02 16:36:17 +00:00
ente
This commit is contained in:
46
Ente/config/museum.yaml
Normal file
46
Ente/config/museum.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
# HTTP connection parameters
|
||||
http:
|
||||
# If true, bind to 443 and use TLS.
|
||||
# By default, this is false, and museum will bind to 8080 without TLS.
|
||||
# use-tls: true
|
||||
|
||||
# Specify the base endpoints for various apps
|
||||
apps:
|
||||
# Default is https://albums.ente.io
|
||||
#
|
||||
# If you're running a self hosted instance and wish to serve public links,
|
||||
# set this to the URL where your albums web app is running.
|
||||
public-albums: https://ente.jimsgarage.co.uk
|
||||
|
||||
# SMTP configuration (optional)
|
||||
#
|
||||
# Configure credentials here for sending mails from museum (e.g. OTP emails).
|
||||
#
|
||||
# The smtp credentials will be used if the host is specified. Otherwise it will
|
||||
# try to use the transmail credentials. Ideally, one of smtp or transmail should
|
||||
# be configured for a production instance.
|
||||
#
|
||||
# username and password are optional (e.g. if you're using a local relay server
|
||||
# and don't need authentication).
|
||||
#smtp:
|
||||
# host:
|
||||
# port:
|
||||
# username:
|
||||
# password:
|
||||
# # The email address from which to send the email. Set this to an email
|
||||
# # address whose credentials you're providing.
|
||||
# email:
|
||||
|
||||
s3:
|
||||
are_local_buckets: true
|
||||
b2-eu-cen:
|
||||
key: test
|
||||
secret: testtest
|
||||
endpoint: https://minio.jimsgarage.co.uk
|
||||
region: eu-central-2
|
||||
bucket: b2-eu-cen
|
||||
|
||||
# Add this once you have done the CLI part
|
||||
#internal:
|
||||
# admins:
|
||||
# - 1580559962386438
|
28
Ente/config/scripts/compose/credentials.yaml
Normal file
28
Ente/config/scripts/compose/credentials.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
db:
|
||||
host: postgres
|
||||
port: 5432
|
||||
name: ente_db
|
||||
user: pguser
|
||||
password: pgpass
|
||||
|
||||
s3:
|
||||
are_local_buckets: true
|
||||
b2-eu-cen:
|
||||
key: test
|
||||
secret: testtest
|
||||
endpoint: https://minio.jimsgarage.co.uk
|
||||
region: eu-central-2
|
||||
bucket: b2-eu-cen
|
||||
wasabi-eu-central-2-v3:
|
||||
key: test
|
||||
secret: testtest
|
||||
endpoint: localhost:3200
|
||||
region: eu-central-2
|
||||
bucket: wasabi-eu-central-2-v3
|
||||
compliance: false
|
||||
scw-eu-fr-v3:
|
||||
key: test
|
||||
secret: testtest
|
||||
endpoint: localhost:3200
|
||||
region: eu-central-2
|
||||
bucket: scw-eu-fr-v3
|
16
Ente/config/scripts/compose/minio-provision.sh
Normal file
16
Ente/config/scripts/compose/minio-provision.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script used to prepare the minio instance that runs as part of the development
|
||||
# Docker compose cluster.
|
||||
|
||||
while ! mc config host add h0 http://minio:3200 test testtest
|
||||
do
|
||||
echo "waiting for minio..."
|
||||
sleep 0.5
|
||||
done
|
||||
|
||||
cd /data
|
||||
|
||||
mc mb -p b2-eu-cen
|
||||
mc mb -p wasabi-eu-central-2-v3
|
||||
mc mb -p scw-eu-fr-v3
|
Reference in New Issue
Block a user