wip: enabled Ente
This commit is contained in:
parent
543552650e
commit
31b9b40693
4 changed files with 145 additions and 0 deletions
1
compose/ente/.gitignore
vendored
Normal file
1
compose/ente/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
legacy/*
|
||||||
115
compose/ente/compose.yaml
Normal file
115
compose/ente/compose.yaml
Normal file
|
|
@ -0,0 +1,115 @@
|
||||||
|
name: "ente"
|
||||||
|
|
||||||
|
#x-lockdown: &lockdown
|
||||||
|
# prevents write access to the image itself
|
||||||
|
# read_only: true
|
||||||
|
# prevents any process within the container to gain more privileges
|
||||||
|
# security_opt:
|
||||||
|
# - "no-new-privileges=true"
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
#container_name: "ente-server"
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
#condition: "service_healthy"
|
||||||
|
restart: true
|
||||||
|
minio:
|
||||||
|
#condition: "service_healthy"
|
||||||
|
restart: true
|
||||||
|
mc:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
image: "11notes/ente:2026.03.23"
|
||||||
|
#<<: *lockdown
|
||||||
|
environment:
|
||||||
|
TZ: "Europe/Madrid"
|
||||||
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
|
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD}"
|
||||||
|
volumes:
|
||||||
|
- "server.etc:/ente/etc"
|
||||||
|
ports:
|
||||||
|
- "3001:8080/tcp"
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
backend:
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: "11notes/postgres:18"
|
||||||
|
name: "ente_postgres_1"
|
||||||
|
#<<: *lockdown
|
||||||
|
environment:
|
||||||
|
TZ: "Europe/Madrid"
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
# make a full and compressed database backup each day at 03:00
|
||||||
|
POSTGRES_BACKUP_SCHEDULE: "0 3 * * *"
|
||||||
|
# only keep the last five backups
|
||||||
|
POSTGRES_BACKUP_RETENTION: 5
|
||||||
|
ports:
|
||||||
|
- "5432:5432/tcp"
|
||||||
|
networks:
|
||||||
|
backend:
|
||||||
|
volumes:
|
||||||
|
- "postgres.etc:/postgres/etc"
|
||||||
|
- "postgres.var:/postgres/var"
|
||||||
|
- "postgres.backup:/postgres/backup"
|
||||||
|
#tmpfs:
|
||||||
|
# needed for read-only
|
||||||
|
#- "/postgres/run:uid=1000,gid=1000"
|
||||||
|
#- "/postgres/log:uid=1000,gid=1000"
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
minio:
|
||||||
|
# for more information about this image checkout:
|
||||||
|
# https://github.com/11notes/docker-minio
|
||||||
|
image: "11notes/minio:2025.10.15"
|
||||||
|
hostname: "minio"
|
||||||
|
#<<: *lockdown
|
||||||
|
environment:
|
||||||
|
TZ: "Europe/Madrid"
|
||||||
|
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD}"
|
||||||
|
command: "/mnt"
|
||||||
|
ports:
|
||||||
|
- "3000:9001/tcp"
|
||||||
|
- "9000:9000/tcp"
|
||||||
|
volumes:
|
||||||
|
- "minio.var:/mnt"
|
||||||
|
networks:
|
||||||
|
backend:
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
mc:
|
||||||
|
#container_name: "mcc"
|
||||||
|
# for more information about this image checkout:
|
||||||
|
# https://github.com/11notes/docker-mc
|
||||||
|
depends_on:
|
||||||
|
minio:
|
||||||
|
#condition: "service_healthy"
|
||||||
|
restart: true
|
||||||
|
image: "11notes/mc:2025.08.13"
|
||||||
|
#<<: *lockdown
|
||||||
|
environment:
|
||||||
|
TZ: "Europe/Madrid"
|
||||||
|
MC_MINIO_URL: "https://minio:9000"
|
||||||
|
MC_MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD}"
|
||||||
|
MC_INSECURE: true
|
||||||
|
command:
|
||||||
|
- mb --ignore-existing minio/ente
|
||||||
|
volumes:
|
||||||
|
- "mc.etc:/mc/etc"
|
||||||
|
networks:
|
||||||
|
backend:
|
||||||
|
restart: "no"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
server.etc:
|
||||||
|
postgres.etc:
|
||||||
|
postgres.var:
|
||||||
|
postgres.backup:
|
||||||
|
minio.var:
|
||||||
|
mc.etc:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
backend:
|
||||||
|
internal: true
|
||||||
10
compose/ente/sample.env
Normal file
10
compose/ente/sample.env
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#Postgres env
|
||||||
|
POSTGRES_HOST=192.168.1.45
|
||||||
|
POSTGRES_PORT=5432
|
||||||
|
POSTGRES_DATABASE=ente
|
||||||
|
POSTGRES_USER=ente
|
||||||
|
POSTGRES_PASSWORD=enteroot
|
||||||
|
|
||||||
|
#MinIO env
|
||||||
|
MINIO_ROOT_PASSWORD=minioroot
|
||||||
|
MINIO_BUCKET=bucket
|
||||||
19
compose/ente/webphotos-compose.yaml
Normal file
19
compose/ente/webphotos-compose.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: "ente-photos-portal"
|
||||||
|
|
||||||
|
services:
|
||||||
|
photos:
|
||||||
|
image: "ghcr.io/ente-io/web:78c36c8966bd490bf1785e3bee0b2cb322f9e66b"
|
||||||
|
ports:
|
||||||
|
- "3020:3000/tcp"#hotos
|
||||||
|
- "3011:3001/tcp"#ccounts
|
||||||
|
- "3012:3002/tcp"#lbums
|
||||||
|
- "3013:3003/tcp"#uth
|
||||||
|
- "3014:3004/tcp"#ast
|
||||||
|
- "3015:3005/tcp"#hare
|
||||||
|
- "3016:3006/tcp"#mbed
|
||||||
|
- "3018:3008/tcp"#aste
|
||||||
|
- "3019:3009/tcp"#ocker
|
||||||
|
- "3010:3010/tcp"#emories
|
||||||
|
environment:
|
||||||
|
ENTE_API_ORIGIN=http://192.168.1.45:3001
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue