1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-29 12:21:57 +00:00
immich-public-proxy/docker-compose.yml

20 lines
440 B
YAML
Raw Normal View History

2024-10-28 08:14:39 +00:00
version: "3"
services:
public-proxy:
image: "node:22"
container_name: immich-public-proxy
working_dir: /home/node/app
environment:
- NODE_ENV=production
volumes:
- ./:/home/node/app:Z
ports:
2024-10-28 19:47:14 +00:00
- ${SERVER_PORT}:3000
2024-10-28 08:14:39 +00:00
command: "npm start"
restart: always
healthcheck:
2024-10-29 10:33:32 +00:00
test: (ps ax | grep -q "[n]ode dist/index.js" && echo "Ok") || exit 1
interval: 60s
start_period: 10s