mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-28 03:41:58 +00:00
Testing docker image
This commit is contained in:
parent
5698e98fcd
commit
c446f3c26d
3 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:20-slim
|
||||
FROM node:22-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@ To view a shared album in Immich, you need access to the `/api/` path. If you're
|
|||
to make that path public. Any existing or future vulnerability has the potential to compromise your Immich instance.
|
||||
|
||||
For me, the ideal setup is to have Immich secured privately behind mTLS or VPN, and only allow public access to Immich Public Proxy.
|
||||
|
||||
Here is an example setup for [securing Immich behind mTLS](./docs/securing-immich-with-mtls.md).
|
||||
Here is an example setup for [securing Immich behind mTLS](./docs/securing-immich-with-mtls.md) using Caddy.
|
||||
|
||||
## How to install with Docker
|
||||
|
||||
|
|
|
@ -2,12 +2,10 @@ services:
|
|||
immich-public-proxy:
|
||||
image: ghcr.io/alangrainger/immich-public-proxy:latest
|
||||
container_name: immich-public-proxy
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
ports:
|
||||
- ${PORT}:3000
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue