mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Doc
This commit is contained in:
parent
b37c2bc047
commit
c06175cf11
@ -1,3 +1,5 @@
|
||||
# Docs - https://github.com/ente-io/ente/blob/main/web/docs/docker.md
|
||||
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
35
web/docs/docker.md
Normal file
35
web/docs/docker.md
Normal file
@ -0,0 +1,35 @@
|
||||
# Docker
|
||||
|
||||
Automated docker images that allow you to run any (or all) of the web apps are
|
||||
created every Wednesday. You can use fetch them from `ghcr.io/ente-io/web`.
|
||||
|
||||
These images expose web apps on 5 ports:
|
||||
|
||||
- `3000` - Photos
|
||||
- `3001` - Account
|
||||
- `3002` - Albums
|
||||
- `3003` - Auth
|
||||
- `3004` - Cast
|
||||
|
||||
For example, for selectively exposing only the photos web app on your port 8000,
|
||||
you could:
|
||||
|
||||
```sh
|
||||
docker run -it --rm -p 8000:3000 ghcr.io/ente-io/web
|
||||
```
|
||||
|
||||
These images accept two environment variables to allow you to customize them:
|
||||
|
||||
- `ENTE_API_ORIGIN` - The API origin (scheme://host:port) for your API server.
|
||||
Default: "http://localhost:8080".
|
||||
|
||||
- `ENTE_ALBUMS_ORIGIN` - If you're running the album app, then set this to the
|
||||
externally visible origin where the albums app is hosted. Default:
|
||||
"https://localhost:3002".
|
||||
|
||||
For example, if your API server is running at `https://api.example.org`, you can
|
||||
configure your Docker image to connect to it:
|
||||
|
||||
```sh
|
||||
docker run -it --rm -e ENTE_API_ORIGIN=https://api.example.org ghcr.io/ente-io/web
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user