From 6c01a9c3ce7f98df863e2d3305b07b1ed3dd03eb Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Fri, 21 Nov 2025 19:14:48 -0500 Subject: [PATCH] Add docker-compose configuration for Mixpost service --- mixpost/docker-compose.yml | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 mixpost/docker-compose.yml diff --git a/mixpost/docker-compose.yml b/mixpost/docker-compose.yml new file mode 100644 index 0000000..64715eb --- /dev/null +++ b/mixpost/docker-compose.yml @@ -0,0 +1,53 @@ +# social media management software # paid past facebook and twitter +# didn't want to mix traefik and nginx so stopped using for now may pick up later +# using mariadb for mysql connection. already setup within .env if checked +# even after getting working couldn't quite get it to post to facebook or twitter +# Will likely use n8n or node-red instead. Seems all these softwares go to paid plans eventually +version: "3.8" +services: + mixpost: + image: inovector/mixpost:latest + container_name: mixpost + # env_file: + # - .env + environment: + - APP_KEY=base64:YourBase64EncodedString + - APP_DEBUG=true + - APP_DOMAIN=mixpost.example.com + - APP_URL=https://mixpost.example.com + - DB_CONNECTION=mysql + - DB_HOST=mysql + - DB_PORT=3306 + - DB_DATABASE=mixpost_db + - DB_USERNAME=mixpost + - DB_PASSWORD=yourPassword + - SSL_EMAIL=admin@example.com + ports: + - "8540:80" + - "8543:443" + volumes: + - /docker-containers/mixpost/app:/var/www/html/storage/app + - /docker-containers/mixpost/logs:/var/www/html/storage/logs + depends_on: + - redis + restart: unless-stopped + networks: # Specify network for container + homelab: + aliases: + - facebook + - instagram + + redis: + image: 'redis:latest' + command: redis-server --appendonly yes --replica-read-only no + volumes: + - /docker-containers/mixpost/redis:/data + healthcheck: + test: ["CMD", "redis-cli", "ping"] + retries: 3 + timeout: 5s + restart: unless-stopped + +networks: # you have to specify the network 2x. In service, and in this tag area.. + homelab: + external: true # This option causes compose to join the above network instead of making a _default one \ No newline at end of file