mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2025-01-16 04:46:45 +01:00
Add docker-compose
This commit is contained in:
parent
aa3f139899
commit
dfbfaba24a
4 changed files with 20 additions and 2 deletions
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
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:
|
||||||
|
- ${PORT}:3000
|
||||||
|
command: "npm start"
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
disable: true
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "immich-public-proxy",
|
"name": "immich-public-proxy",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node index.js"
|
"dev": "node src/index.js",
|
||||||
|
"start": "node src/index.js"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
Loading…
Reference in a new issue