Using strict image versions in docker-compose.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
version: '3'
|
||||
services:
|
||||
lb:
|
||||
image: docker.io/caddy:2
|
||||
image: docker.io/caddy:2.10.2-alpine
|
||||
volumes:
|
||||
# - /app/lb:/etc/caddy
|
||||
- ./lb/:/etc/caddy
|
||||
@@ -20,6 +20,3 @@ services:
|
||||
- lb
|
||||
networks:
|
||||
lb:
|
||||
# volumes:
|
||||
# config:
|
||||
# data:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -33,5 +33,3 @@ networks:
|
||||
config:
|
||||
- subnet: 10.42.42.0/24
|
||||
- subnet: fdcc:ad94:bacf:61a3::/64
|
||||
# volumes:
|
||||
# etc_wireguard:
|
||||
|
||||
Reference in New Issue
Block a user