compose.yaml
· 1.3 KiB · YAML
Raw
services:
museum:
image: ghcr.io/ente-io/server@sha256:61245410ae7b8755b631e6d85cff402eb123285e4abbfffbed7b78d75d68d725
ports:
- 127.0.0.1:27159:8080 # API
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
volumes:
- ./museum.yaml:/museum.yaml:ro
- ./data:/data:ro
environment:
NEXT_PUBLIC_ENTE_ENDPOINT: https://api.pics.doma.in
web:
image: ghcr.io/ente-io/web@sha256:84be8962c1046842b23420823a0fb579bbf3b46463aa549bfdfed98f99c28f38
restart: unless-stopped
ports:
- 127.0.0.1:28021:3000 # Photos web app
- 127.0.0.1:11659:3001 # Accounts
- 127.0.0.1:51370:3002 # Public albums
- 127.0.0.1:59049:3003 # Auth
- 127.0.0.1:10858:3004 # Cast
environment:
ENTE_API_ORIGIN: https://api.pics.doma.in
ENTE_ALBUMS_ORIGIN: https://share.pics.doma.in
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://share.pics.doma.in
postgres:
image: postgres@sha256:f57a3bdbf044f0b213fdc99f35a0d21c401608bf41f063176ec00c51df9655f7
restart: unless-stopped
environment:
POSTGRES_USER: pguser
POSTGRES_PASSWORD: password
POSTGRES_DB: ente_db
healthcheck:
test: pg_isready -q -d ente_db -U pguser
start_period: 40s
start_interval: 1s
volumes:
- ./db:/var/lib/postgresql/data
1 | services: |
2 | museum: |
3 | image: ghcr.io/ente-io/server@sha256:61245410ae7b8755b631e6d85cff402eb123285e4abbfffbed7b78d75d68d725 |
4 | ports: |
5 | - 127.0.0.1:27159:8080 # API |
6 | restart: unless-stopped |
7 | depends_on: |
8 | postgres: |
9 | condition: service_healthy |
10 | volumes: |
11 | - ./museum.yaml:/museum.yaml:ro |
12 | - ./data:/data:ro |
13 | environment: |
14 | NEXT_PUBLIC_ENTE_ENDPOINT: https://api.pics.doma.in |
15 | |
16 | web: |
17 | image: ghcr.io/ente-io/web@sha256:84be8962c1046842b23420823a0fb579bbf3b46463aa549bfdfed98f99c28f38 |
18 | restart: unless-stopped |
19 | ports: |
20 | - 127.0.0.1:28021:3000 # Photos web app |
21 | - 127.0.0.1:11659:3001 # Accounts |
22 | - 127.0.0.1:51370:3002 # Public albums |
23 | - 127.0.0.1:59049:3003 # Auth |
24 | - 127.0.0.1:10858:3004 # Cast |
25 | environment: |
26 | ENTE_API_ORIGIN: https://api.pics.doma.in |
27 | ENTE_ALBUMS_ORIGIN: https://share.pics.doma.in |
28 | NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://share.pics.doma.in |
29 | |
30 | postgres: |
31 | image: postgres@sha256:f57a3bdbf044f0b213fdc99f35a0d21c401608bf41f063176ec00c51df9655f7 |
32 | restart: unless-stopped |
33 | environment: |
34 | POSTGRES_USER: pguser |
35 | POSTGRES_PASSWORD: password |
36 | POSTGRES_DB: ente_db |
37 | healthcheck: |
38 | test: pg_isready -q -d ente_db -U pguser |
39 | start_period: 40s |
40 | start_interval: 1s |
41 | volumes: |
42 | - ./db:/var/lib/postgresql/data |
43 | |
44 |
museum.yaml
· 1.1 KiB · YAML
Raw
key:
encryption: key
hash: hash
jwt:
secret: secret
apps:
public-albums: https://share.pics.doma.in
cast: https://cast.pics.doma.in
accounts: https://accounts.pics.doma.in
db:
host: postgres
port: 5432
name: ente_db
user: pguser
password: password
s3:
are_local_buckets: false
b2-eu-cen:
key: keyid
secret: secret
endpoint: s3.eu-central-003.backblazeb2.com
region: eu-central-003
bucket: somebucket
smtp:
host: some.host
port: 587
username: user
password: pass
email: noreply@doma.in
sender-name: Ente-Selfhosted
webauthn:
rpid: pics.doma.in
rporigins:
- "https://accounts.pics.doma.in"
replication:
enabled: false
internal:
silent: false
health-check-url: https://some.url
admin: id
disable-registration: false
jobs:
cron:
skip: false
remove-unreported-objects:
worker-count: 1
clear-orphan-objects:
enabled: true
1 | key: |
2 | encryption: key |
3 | hash: hash |
4 | |
5 | jwt: |
6 | secret: secret |
7 | |
8 | apps: |
9 | public-albums: https://share.pics.doma.in |
10 | cast: https://cast.pics.doma.in |
11 | accounts: https://accounts.pics.doma.in |
12 | |
13 | db: |
14 | host: postgres |
15 | port: 5432 |
16 | name: ente_db |
17 | user: pguser |
18 | password: password |
19 | |
20 | s3: |
21 | are_local_buckets: false |
22 | b2-eu-cen: |
23 | key: keyid |
24 | secret: secret |
25 | endpoint: s3.eu-central-003.backblazeb2.com |
26 | region: eu-central-003 |
27 | bucket: somebucket |
28 | |
29 | smtp: |
30 | host: some.host |
31 | port: 587 |
32 | username: user |
33 | password: pass |
34 | email: noreply@doma.in |
35 | sender-name: Ente-Selfhosted |
36 | |
37 | webauthn: |
38 | rpid: pics.doma.in |
39 | rporigins: |
40 | - "https://accounts.pics.doma.in" |
41 | |
42 | replication: |
43 | enabled: false |
44 | |
45 | internal: |
46 | silent: false |
47 | health-check-url: https://some.url |
48 | admin: id |
49 | disable-registration: false |
50 | |
51 | jobs: |
52 | cron: |
53 | skip: false |
54 | remove-unreported-objects: |
55 | worker-count: 1 |
56 | clear-orphan-objects: |
57 | enabled: true |
58 |