1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-22 01:47:08 +02:00

Remove expose PostgreSQL port on production docker-compose file

This commit is contained in:
Alex 2022-06-23 13:17:31 -05:00
parent ef097d15dd
commit 2f2db74d73
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
immich-server: immich-server:
image: altran1502/immich-server:latest image: altran1502/immich-server:latest
entrypoint: [ "/bin/sh", "./start-server.sh" ] entrypoint: ["/bin/sh", "./start-server.sh"]
expose: expose:
- "3000" - "3000"
volumes: volumes:
@ -21,7 +21,7 @@ services:
immich-microservices: immich-microservices:
image: altran1502/immich-server:latest image: altran1502/immich-server:latest
entrypoint: [ "/bin/sh", "./start-microservices.sh" ] entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes: volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file: env_file:
@ -37,7 +37,7 @@ services:
immich-machine-learning: immich-machine-learning:
image: altran1502/immich-machine-learning:latest image: altran1502/immich-machine-learning:latest
entrypoint: [ "/bin/sh", "./entrypoint.sh" ] entrypoint: ["/bin/sh", "./entrypoint.sh"]
expose: expose:
- "3001" - "3001"
volumes: volumes:
@ -54,7 +54,7 @@ services:
immich-web: immich-web:
image: altran1502/immich-web:latest image: altran1502/immich-web:latest
entrypoint: [ "/bin/sh", "./entrypoint.sh" ] entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file: env_file:
- .env - .env
ports: ports:
@ -82,8 +82,6 @@ services:
PG_DATA: /var/lib/postgresql/data PG_DATA: /var/lib/postgresql/data
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
networks: networks:
- immich-network - immich-network
restart: always restart: always