add minio

This commit is contained in:
Simon Larsen 2023-08-01 16:41:21 +01:00
parent 104c46357f
commit 0c5fe2c722
No known key found for this signature in database
GPG key ID: AB45983AA9C81CDE
4 changed files with 33 additions and 0 deletions

View file

@ -12,6 +12,7 @@ ENCRYPTION_SECRET=please-change-this-to-random-value
TOKEN_SECRET=please-change-this-to-random-value
GLOBAL_PROBE_1_KEY=please-change-this-to-random-value
GLOBAL_PROBE_2_KEY=please-change-this-to-random-value
MINIO_ROOT_PASSWORD=please-change-this-to-random-value
# Is this server hosted with a TLS cert (for ex: SSL from LetsEncrypt / Cloudflare). If yes, this should be "https"
HTTP_PROTOCOL=http
@ -53,6 +54,9 @@ CLICKHOUSE_USER=default
CLICKHOUSE_DATABASE=oneuptime
# Minio User Credentials.
MINIO_ROOT_USER=oneuptime
# Postgres DB Settings.
DATABASE_PORT=5432
DATABASE_USERNAME=postgres

View file

@ -88,6 +88,18 @@ x-common-server-variables: &common-server-variables
services:
minio:
networks:
- oneuptime
image: minio/minio:latest
restart: always
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
volumes:
- minio:/data
haraka:
networks:
@ -383,6 +395,7 @@ services:
volumes:
postgres:
clickhouse:
minio:
networks:
oneuptime:

View file

@ -2,6 +2,15 @@ version: '3.7'
services:
minio:
ports:
- '3552:9000'
- '3553:9001'
extends:
file: ./docker-compose.base.yml
service: minio
haraka:
extends:
file: ./docker-compose.base.yml
@ -399,6 +408,7 @@ services:
volumes:
postgres:
clickhouse:
minio:
networks:
oneuptime:

View file

@ -5,6 +5,11 @@ version: '3.7'
services:
minio:
extends:
file: ./docker-compose.base.yml
service: minio
haraka:
extends:
file: ./docker-compose.base.yml
@ -144,6 +149,7 @@ services:
volumes:
postgres:
clickhouse:
minio:
networks:
oneuptime: