Update docker-compose.yml

This commit is contained in:
DrMxrcy 2023-03-22 14:30:26 -04:00
parent be4f05ae8a
commit ac804cfc7b

View File

@ -1,4 +1,4 @@
version: "3"
version: "3.1"
services:
mixpost:
@ -6,7 +6,7 @@ services:
container_name: mixpost
environment:
- APP_NAME='Mixpost'
- APP_KEY=${MIXPOST_APP_KEY} # Generate a base64 secret here: https://generate-random.org/laravel-key-generator?count=1
- APP_KEY=${MIXPOST_APP_KEY}
- APP_URL=https://${APP_DOMAIN}
- DB_HOST=mixpost_mysql
- DB_DATABASE=mixpost
@ -54,11 +54,11 @@ services:
image: 'redis:latest'
command: redis-server --appendonly yes --replica-read-only no --requirepass "${MIXPOST_REDIS_PASSWORD}"
volumes:
- '${APP_DATA_DIR}/data/redis:/data'
- '${APP_DATA_DIR}/data/redis:/data'
healthcheck:
test: ["CMD", "redis-cli", "ping"]
retries: 3
timeout: 5s
networks:
- tipi_main_network
- tipi_main_network