Update docker-compose.yml

adjust container names
This commit is contained in:
LRVT 2023-03-02 12:26:29 +01:00 committed by GitHub
parent 9038ce1a0e
commit 4630de7070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ version: "3.8"
services: services:
proxy: proxy:
image: reallibrephotos/librephotos-proxy:${tag} image: reallibrephotos/librephotos-proxy:${tag}
container_name: proxy container_name: librephotos-proxy
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${scanDirectory}:/data - ${scanDirectory}:/data
@ -24,7 +24,7 @@ services:
db: db:
image: postgres:13 image: postgres:13
container_name: db container_name: librephotos-db
restart: unless-stopped restart: unless-stopped
environment: environment:
- POSTGRES_USER=${dbUser} - POSTGRES_USER=${dbUser}
@ -46,7 +46,7 @@ services:
backend: backend:
image: reallibrephotos/librephotos:${tag} image: reallibrephotos/librephotos:${tag}
container_name: backend container_name: librephotos-backend
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${scanDirectory}:/data - ${scanDirectory}:/data
@ -81,7 +81,7 @@ services:
redis: redis:
image: redis:6 image: redis:6
container_name: redis container_name: librephotos-redis
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ] test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]