mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +00:00
Update docker-compose.yml
adjust container names
This commit is contained in:
parent
9038ce1a0e
commit
4630de7070
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user