fix docker compose

This commit is contained in:
piccihud 2024-12-26 15:16:55 +01:00
parent c586d65461
commit e420985c7e

View File

@ -1,7 +1,9 @@
# https://docs.castopod.org/main/en/getting-started/docker/
services:
app:
castopod:
image: castopod/castopod:latest
container_name: "castopod-app"
container_name: "castopod"
mem_limit: 512m
env_file: .env
volumes:
@ -21,14 +23,14 @@ services:
CP_EMAIL_SMTP_PASSWORD: ${CP_EMAIL_SMTP_PASSWORD}
CP_EMAIL_SMTP_PORT: 587
networks:
- castopod-app
- castopod
- castopod-db
ports:
- 127.0.0.1:3008:8000
restart: unless-stopped
mariadb:
image: mariadb:10.5
image: mariadb:11.2
container_name: "castopod-mariadb"
mem_limit: 512m
networks:
@ -43,15 +45,14 @@ services:
restart: always
redis:
image: redis:7.0-alpine
image: redis:7.2-alpine
container_name: "castopod-redis"
mem_limit: 256m
command: --requirepass ${CP_REDIS_PASSWORD}
volumes:
- castopod-cache:/data
restart: always
networks:
- castopod-app
- castopod
volumes:
castopod-media:
@ -59,5 +60,5 @@ volumes:
castopod-cache:
networks:
castopod-app:
castopod:
castopod-db: