Using strict image versions in docker-compose.
This commit is contained in:
@@ -16,7 +16,7 @@ secrets:
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:17.6-trixie
|
||||
env_file:
|
||||
- ./nextcloud/nextcloud.env
|
||||
shm_size: 128mb
|
||||
@@ -40,7 +40,7 @@ services:
|
||||
- postgres_password
|
||||
- postgres_user
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:8.2.1-bookworm
|
||||
env_file:
|
||||
- ./nextcloud/nextcloud.env
|
||||
command: bash -c 'redis-server --requirepass "$$(cat /run/secrets/redis_password)"'
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
nextcloud:
|
||||
image: nextcloud
|
||||
image: nextcloud:31.0.8-apache
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
- POSTGRES_DB=nextcloud
|
||||
|
||||
Reference in New Issue
Block a user