Update docker-compose.yml
This commit is contained in:
parent
be4f05ae8a
commit
ac804cfc7b
|
@ -1,4 +1,4 @@
|
||||||
version: "3"
|
version: "3.1"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mixpost:
|
mixpost:
|
||||||
|
@ -6,7 +6,7 @@ services:
|
||||||
container_name: mixpost
|
container_name: mixpost
|
||||||
environment:
|
environment:
|
||||||
- APP_NAME='Mixpost'
|
- 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}
|
- APP_URL=https://${APP_DOMAIN}
|
||||||
- DB_HOST=mixpost_mysql
|
- DB_HOST=mixpost_mysql
|
||||||
- DB_DATABASE=mixpost
|
- DB_DATABASE=mixpost
|
||||||
|
@ -54,11 +54,11 @@ services:
|
||||||
image: 'redis:latest'
|
image: 'redis:latest'
|
||||||
command: redis-server --appendonly yes --replica-read-only no --requirepass "${MIXPOST_REDIS_PASSWORD}"
|
command: redis-server --appendonly yes --replica-read-only no --requirepass "${MIXPOST_REDIS_PASSWORD}"
|
||||||
volumes:
|
volumes:
|
||||||
- '${APP_DATA_DIR}/data/redis:/data'
|
- '${APP_DATA_DIR}/data/redis:/data'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
retries: 3
|
retries: 3
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user