mirror of
https://github.com/immich-app/immich.git
synced 2025-01-02 12:48:35 +02:00
Modify docker-compose to be compatible with k8s (#149)
* Modify docker-compose file using a hyphen for services instead of underscore * Change URL in Nginx setting
This commit is contained in:
parent
43d639104d
commit
bb89fa4aab
@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
immich_server:
|
||||
immich-server:
|
||||
image: immich-server-dev:1.9.0
|
||||
build:
|
||||
context: ../server
|
||||
@ -21,9 +21,9 @@ services:
|
||||
- redis
|
||||
- database
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
immich_microservices:
|
||||
immich-microservices:
|
||||
image: immich-microservices-dev:1.9.0
|
||||
build:
|
||||
context: ../microservices
|
||||
@ -42,14 +42,14 @@ services:
|
||||
depends_on:
|
||||
- database
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: redis:6.2
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
@ -66,7 +66,7 @@ services:
|
||||
ports:
|
||||
- 5432:5432
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
nginx:
|
||||
container_name: proxy_nginx
|
||||
@ -79,11 +79,11 @@ services:
|
||||
logging:
|
||||
driver: none
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
depends_on:
|
||||
- immich_server
|
||||
- immich-server
|
||||
|
||||
networks:
|
||||
immich_network:
|
||||
immich-network:
|
||||
volumes:
|
||||
pgdata:
|
||||
|
@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
immich_server:
|
||||
immich-server:
|
||||
image: immich-server-dev:1.9.0
|
||||
build:
|
||||
context: ../server
|
||||
@ -19,9 +19,9 @@ services:
|
||||
- redis
|
||||
- database
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
immich_microservices:
|
||||
immich-microservices:
|
||||
image: immich-microservices-dev:1.9.0
|
||||
build:
|
||||
context: ../microservices
|
||||
@ -46,13 +46,13 @@ services:
|
||||
- database
|
||||
- immich_server
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: redis:6.2
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
@ -69,7 +69,7 @@ services:
|
||||
ports:
|
||||
- 5432:5432
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
nginx:
|
||||
container_name: proxy_nginx
|
||||
@ -82,11 +82,11 @@ services:
|
||||
logging:
|
||||
driver: none
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
depends_on:
|
||||
- immich_server
|
||||
- immich-server
|
||||
|
||||
networks:
|
||||
immich_network:
|
||||
immich-network:
|
||||
volumes:
|
||||
pgdata:
|
||||
|
@ -1,8 +1,8 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
immich_server:
|
||||
image: altran1502/immich-server:v1.9.0_13-dev
|
||||
immich-server:
|
||||
image: altran1502/immich-server:latest
|
||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||
expose:
|
||||
- "3000"
|
||||
@ -16,11 +16,11 @@ services:
|
||||
- redis
|
||||
- database
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
restart: unless-stopped
|
||||
|
||||
immich_microservices:
|
||||
image: altran1502/immich-microservices:v1.9.0_13-dev
|
||||
immich-microservices:
|
||||
image: altran1502/immich-microservices:latest
|
||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||
expose:
|
||||
- "3001"
|
||||
@ -33,14 +33,14 @@ services:
|
||||
depends_on:
|
||||
- database
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: redis:6.2
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
@ -57,7 +57,7 @@ services:
|
||||
ports:
|
||||
- 5432:5432
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
|
||||
nginx:
|
||||
container_name: proxy_nginx
|
||||
@ -70,11 +70,11 @@ services:
|
||||
logging:
|
||||
driver: none
|
||||
networks:
|
||||
- immich_network
|
||||
- immich-network
|
||||
depends_on:
|
||||
- immich_server
|
||||
- immich-server
|
||||
|
||||
networks:
|
||||
immich_network:
|
||||
immich-network:
|
||||
volumes:
|
||||
pgdata:
|
@ -41,6 +41,6 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
|
||||
proxy_pass http://immich_server:3000;
|
||||
proxy_pass http://immich-server:3000;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user