mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
# documentation: https://docs.mixpost.app/lite
|
|
# slogan: Mixpost is a robust and versatile social media management software, designed to streamline social media operations and enhance content marketing strategies.
|
|
# tags: social media, marketing, content, management, automation, self-hosted
|
|
# logo: svgs/mixpost.svg
|
|
# port: 80
|
|
|
|
services:
|
|
mixpost:
|
|
image: 'inovector/mixpost:latest'
|
|
environment:
|
|
- SERVICE_FQDN_MIXPOST
|
|
- APP_NAME=Mixpost
|
|
- 'APP_KEY=${SERVICE_BASE64_MIXPOST}'
|
|
- APP_DEBUG=false
|
|
- 'APP_URL=${SERVICE_FQDN_MIXPOST}'
|
|
- 'DB_DATABASE=${MYSQL_DATABASE:-mixpost_db}'
|
|
- 'DB_USERNAME=${SERVICE_USERNAME_MYSQL}'
|
|
- 'DB_PASSWORD=${SERVICE_PASSWORD_MYSQL}'
|
|
volumes:
|
|
- 'mixpost-storage:/var/www/html/storage/app'
|
|
- 'mixpost-logs:/var/www/html/storage/logs'
|
|
depends_on:
|
|
- mysql
|
|
- redis
|
|
mysql:
|
|
image: 'mysql/mysql-server:8.0'
|
|
environment:
|
|
- 'MYSQL_DATABASE=${MYSQL_DATABASE:-mixpost_db}'
|
|
- 'MYSQL_USER=${SERVICE_USERNAME_MYSQL}'
|
|
- 'MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}'
|
|
- 'MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}'
|
|
volumes:
|
|
- 'mixpost-mysql:/var/lib/mysql'
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- mysqladmin
|
|
- ping
|
|
- '-h'
|
|
- 127.0.0.1
|
|
- '-uroot'
|
|
- '-p${SERVICE_PASSWORD_MYSQLROOT}'
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|
|
redis:
|
|
image: 'redis:alpine'
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- redis-cli
|
|
- '--raw'
|
|
- incr
|
|
- ping
|