mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Add production and development docker-compose (#77)
This commit is contained in:
@@ -2,13 +2,12 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
immich_server:
|
||||
image: immich-server-dev:1.3.2
|
||||
image: immich-server:1.3.2
|
||||
build:
|
||||
context: ../server
|
||||
target: development
|
||||
target: production
|
||||
dockerfile: ../server/Dockerfile
|
||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||
# command: npm run start:dev
|
||||
command: npm run start:prod
|
||||
expose:
|
||||
- "3000"
|
||||
volumes:
|
||||
@@ -24,12 +23,12 @@ services:
|
||||
- immich_network
|
||||
|
||||
immich_microservices:
|
||||
image: immich-microservices-dev:1.3.2
|
||||
image: immich-microservices:1.3.2
|
||||
build:
|
||||
context: ../microservices
|
||||
target: development
|
||||
target: production
|
||||
dockerfile: ../microservices/Dockerfile
|
||||
command: npm run start:dev
|
||||
command: npm run start:prod
|
||||
expose:
|
||||
- "3001"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user