fix docker compose
This commit is contained in:
parent
c586d65461
commit
e420985c7e
@ -1,7 +1,9 @@
|
|||||||
|
# https://docs.castopod.org/main/en/getting-started/docker/
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
castopod:
|
||||||
image: castopod/castopod:latest
|
image: castopod/castopod:latest
|
||||||
container_name: "castopod-app"
|
container_name: "castopod"
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
@ -21,14 +23,14 @@ services:
|
|||||||
CP_EMAIL_SMTP_PASSWORD: ${CP_EMAIL_SMTP_PASSWORD}
|
CP_EMAIL_SMTP_PASSWORD: ${CP_EMAIL_SMTP_PASSWORD}
|
||||||
CP_EMAIL_SMTP_PORT: 587
|
CP_EMAIL_SMTP_PORT: 587
|
||||||
networks:
|
networks:
|
||||||
- castopod-app
|
- castopod
|
||||||
- castopod-db
|
- castopod-db
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:3008:8000
|
- 127.0.0.1:3008:8000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:10.5
|
image: mariadb:11.2
|
||||||
container_name: "castopod-mariadb"
|
container_name: "castopod-mariadb"
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
networks:
|
networks:
|
||||||
@ -39,19 +41,18 @@ services:
|
|||||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||||
MYSQL_DATABASE: castopod
|
MYSQL_DATABASE: castopod
|
||||||
MYSQL_USER: castopod
|
MYSQL_USER: castopod
|
||||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7.0-alpine
|
image: redis:7.2-alpine
|
||||||
container_name: "castopod-redis"
|
container_name: "castopod-redis"
|
||||||
mem_limit: 256m
|
mem_limit: 256m
|
||||||
command: --requirepass ${CP_REDIS_PASSWORD}
|
command: --requirepass ${CP_REDIS_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- castopod-cache:/data
|
- castopod-cache:/data
|
||||||
restart: always
|
|
||||||
networks:
|
networks:
|
||||||
- castopod-app
|
- castopod
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
castopod-media:
|
castopod-media:
|
||||||
@ -59,5 +60,5 @@ volumes:
|
|||||||
castopod-cache:
|
castopod-cache:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
castopod-app:
|
castopod:
|
||||||
castopod-db:
|
castopod-db:
|
Loading…
x
Reference in New Issue
Block a user