Move all service folders into docker-compose directory

This commit is contained in:
2025-11-27 19:24:55 -05:00
parent 2f2dc52f74
commit fb0f74d72f
141 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# The name of your application.
APP_NAME=Mixpost
# Key used to encrypt and decrypt sensitive data. Generate this using the following tool:
# https://mixpost.app/tools/encryption-key-generator
APP_KEY=base64:YourBase64EncodedString
# Debug mode setting. Set to `false` for production environments.
APP_DEBUG=false
# Your app's domain or subdomain, without the 'http://' or 'https://' prefix.
APP_DOMAIN=mixpost.example.com
# Full application URL is automatically configured; no modification required.
APP_URL=https://${APP_DOMAIN}
# MySQL connection setup.
DB_CONNECTION=mysql
DB_HOST=mysql # Use one of the MariaDB aliases
DB_PORT=3306
DB_DATABASE=mixpost_db
DB_USERNAME=mixpost
DB_PASSWORD=yourPassword
# Specify the email address to be used for SSL certificate registration and notifications.
SSL_EMAIL=admin@example.com

View File

@@ -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