mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3f0044fe3 |
@@ -134,12 +134,7 @@ DECOMPOSEDS3_ACCESS_KEY=
|
|||||||
DECOMPOSEDS3_SECRET_KEY=
|
DECOMPOSEDS3_SECRET_KEY=
|
||||||
# S3 bucket. Defaults to "opencloud"
|
# S3 bucket. Defaults to "opencloud"
|
||||||
DECOMPOSEDS3_BUCKET=
|
DECOMPOSEDS3_BUCKET=
|
||||||
#
|
|
||||||
# For testing purposes, add local minio S3 storage to the docker-compose file.
|
|
||||||
# The leading colon is required to enable the service.
|
|
||||||
DECOMPOSEDS3_MINIO=:minio.yml
|
|
||||||
# Minio domain. Defaults to "minio.opencloud.test".
|
|
||||||
MINIO_DOMAIN=
|
|
||||||
|
|
||||||
# Define SMTP settings if you would like to send OpenCloud email notifications.
|
# Define SMTP settings if you would like to send OpenCloud email notifications.
|
||||||
# To actually send notifications, you also need to enable the 'notifications' service
|
# To actually send notifications, you also need to enable the 'notifications' service
|
||||||
|
|||||||
@@ -42,9 +42,8 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
|
|
||||||
3. **Set admin password**:
|
3. **Set admin password**:
|
||||||
set `INITIAL_ADMIN_PASSWORD=your_secure_password` environment variable in your `.env` file
|
set `INITIAL_ADMIN_PASSWORD=your_secure_password` environment variable in your `.env` file
|
||||||
4. **Domain**:
|
|
||||||
optionally, set `OC_DOMAIN=your-domain.com` to overwrite the default `cloud.opencloud.test`
|
4. **Configure deployment options**:
|
||||||
5. **Configure deployment options**:
|
|
||||||
|
|
||||||
You can deploy using explicit `-f` flags:
|
You can deploy using explicit `-f` flags:
|
||||||
```bash
|
```bash
|
||||||
@@ -61,14 +60,14 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
6. **Add local domains to `/etc/hosts`** (for local development only):
|
5. **Add local domains to `/etc/hosts`** (for local development only):
|
||||||
```
|
```
|
||||||
127.0.0.1 cloud.opencloud.test
|
127.0.0.1 cloud.opencloud.test
|
||||||
127.0.0.1 traefik.opencloud.test
|
127.0.0.1 traefik.opencloud.test
|
||||||
127.0.0.1 keycloak.opencloud.test
|
127.0.0.1 keycloak.opencloud.test
|
||||||
```
|
```
|
||||||
|
|
||||||
7. **Access OpenCloud**:
|
6. **Access OpenCloud**:
|
||||||
- URL: https://cloud.opencloud.test
|
- URL: https://cloud.opencloud.test
|
||||||
- Username: `admin`
|
- Username: `admin`
|
||||||
- Password: value of your `INITIAL_ADMIN_PASSWORD`
|
- Password: value of your `INITIAL_ADMIN_PASSWORD`
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
services:
|
|
||||||
minio:
|
|
||||||
image: minio/minio:latest
|
|
||||||
# release notes: https://github.com/minio/minio/releases
|
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
command:
|
|
||||||
[
|
|
||||||
"-c",
|
|
||||||
"mkdir -p /data/${DECOMPOSEDS3_BUCKET:-opencloud-bucket} && minio server --console-address ':9001' /data",
|
|
||||||
]
|
|
||||||
volumes:
|
|
||||||
- minio-data:/data
|
|
||||||
environment:
|
|
||||||
MINIO_ROOT_USER: ${DECOMPOSEDS3_ACCESS_KEY:-opencloud}
|
|
||||||
MINIO_ROOT_PASSWORD: ${DECOMPOSEDS3_SECRET_KEY:-opencloud-secret-key}
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.minio.entrypoints=https"
|
|
||||||
- "traefik.http.routers.minio.rule=Host(`${MINIO_DOMAIN:-minio.opencloud.test}`)"
|
|
||||||
- "traefik.http.routers.minio.tls.certresolver=http"
|
|
||||||
- "traefik.http.routers.minio.service=minio"
|
|
||||||
- "traefik.http.services.minio.loadbalancer.server.port=9001"
|
|
||||||
logging:
|
|
||||||
driver: ${LOG_DRIVER:-local}
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
minio-data:
|
|
||||||
@@ -58,7 +58,8 @@ services:
|
|||||||
--o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} \
|
--o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} \
|
||||||
--o:ssl.termination=true \
|
--o:ssl.termination=true \
|
||||||
--o:welcome.enable=false \
|
--o:welcome.enable=false \
|
||||||
--o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test}
|
--o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test} \
|
||||||
|
--o:net.lok_allow.host[14]=${OC_DOMAIN-cloud.opencloud.test}
|
||||||
username: ${COLLABORA_ADMIN_USER:-admin}
|
username: ${COLLABORA_ADMIN_USER:-admin}
|
||||||
password: ${COLLABORA_ADMIN_PASSWORD:-admin}
|
password: ${COLLABORA_ADMIN_PASSWORD:-admin}
|
||||||
cap_add:
|
cap_add:
|
||||||
|
|||||||
Reference in New Issue
Block a user