✨ initial

This commit is contained in:
gsr
2026-09-06 11:11:14 +03:00
commit 3146509383
3 changed files with 79 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
POSTGRES_DB=oxicloud
POSTGRES_USER=postgres
POSTGRES_PASSWORD=MYQvsRD7js3rXb2fyR5o7CRNCUMhru4En9n
OXICLOUD_STORAGE_PATH=/app/storage
OXICLOUD_STATIC_PATH=/app/static
OXICLOUD_SERVER_PORT=8086
OXICLOUD_SERVER_HOST=0.0.0.0
OXICLOUD_DB_CONNECTION_STRING=postgres://postgres:MYQvsRD7js3rXb2fyR5o7CRNCUMhru4En9n@postgres/oxicloud
OXICLOUD_OIDC_ENABLED=false
OXICLOUD_WOPI_ENABLED=false
MIMALLOC_PURGE_DELAY=0
MIMALLOC_ALLOW_LARGE_OS_PAGES=0
+13
View File
@@ -0,0 +1,13 @@
```
hx /etc/caddy/Caddyfile
```
```
cloud.gsrhost.ru {
reverse_proxy 127.0.0.1:8086
}
```
```
caddy reload --config /etc/caddy/Caddyfile
```
+49
View File
@@ -0,0 +1,49 @@
services:
postgres:
image: postgres:18.2-alpine3.23
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
networks:
- oxicloud
volumes:
- oxicloud_pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
oxicloud:
image: diocrafts/oxicloud:latest
restart: unless-stopped
ports:
- "127.0.0.1:8086:8086"
networks:
- oxicloud
env_file:
- .env
volumes:
- oxicloud_storage:/app/storage
depends_on:
postgres:
condition: service_healthy
networks:
oxicloud:
driver: bridge
volumes:
oxicloud_pg_data:
oxicloud_storage: