From e420985c7e61733d65779d5349bc8c2abd676fec Mon Sep 17 00:00:00 2001 From: piccihud Date: Thu, 26 Dec 2024 15:16:55 +0100 Subject: [PATCH] fix docker compose --- castopod/docker-compose.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/castopod/docker-compose.yml b/castopod/docker-compose.yml index dd988a4..85c2dc5 100644 --- a/castopod/docker-compose.yml +++ b/castopod/docker-compose.yml @@ -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: @@ -39,19 +41,18 @@ services: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} MYSQL_DATABASE: castopod MYSQL_USER: castopod - MYSQL_PASSWORD: ${MYSQL_PASSWORD} + MYSQL_PASSWORD: ${MYSQL_PASSWORD} 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-db: + castopod: + castopod-db: \ No newline at end of file