mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
Fixed issue with container cannot find module
This commit is contained in:
parent
8d7c576037
commit
f9ddeac265
@ -6,12 +6,13 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ../server
|
context: ../server
|
||||||
dockerfile: ../server/Dockerfile
|
dockerfile: ../server/Dockerfile
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
command: npm run start:prod
|
||||||
restart: unless-stopped
|
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ../server:/usr/src/app
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- /usr/src/app/node_modules
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
@ -27,12 +28,13 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ../microservices
|
context: ../microservices
|
||||||
dockerfile: ../microservices/Dockerfile
|
dockerfile: ../microservices/Dockerfile
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
command: npm run start:prod
|
||||||
restart: unless-stopped
|
|
||||||
expose:
|
expose:
|
||||||
- "3001"
|
- "3001"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ../microservices:/usr/src/app
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- /usr/src/app/node_modules
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
@ -81,7 +83,28 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- immich_server
|
- immich_server
|
||||||
|
|
||||||
|
# immich_tf_fastapi:
|
||||||
|
# container_name: immich_tf_fastapi
|
||||||
|
# image: tensor_flow_fastapi:1.0.0
|
||||||
|
# restart: always
|
||||||
|
# command: uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 8000 --reload
|
||||||
|
# build:
|
||||||
|
# context: ../machine_learning
|
||||||
|
# target: cpu
|
||||||
|
# dockerfile: ../machine_learning/Dockerfile
|
||||||
|
# volumes:
|
||||||
|
# - ../machine_learning/app:/code/app
|
||||||
|
# - ${UPLOAD_LOCATION}:/code/app/upload
|
||||||
|
# ports:
|
||||||
|
# - 2285:8000
|
||||||
|
# expose:
|
||||||
|
# - "8000"
|
||||||
|
# depends_on:
|
||||||
|
# - database
|
||||||
|
# networks:
|
||||||
|
# - immich_network
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
immich_network:
|
immich_network:
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
Loading…
Reference in New Issue
Block a user