mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-29 12:21:57 +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
|
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.
|
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.
|
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) using Caddy.
|
||||||
Here is an example setup for [securing Immich behind mTLS](./docs/securing-immich-with-mtls.md).
|
|
||||||
|
|
||||||
## How to install with Docker
|
## How to install with Docker
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,10 @@ services:
|
||||||
immich-public-proxy:
|
immich-public-proxy:
|
||||||
image: ghcr.io/alangrainger/immich-public-proxy:latest
|
image: ghcr.io/alangrainger/immich-public-proxy:latest
|
||||||
container_name: immich-public-proxy
|
container_name: immich-public-proxy
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:3000
|
- ${PORT}:3000
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue