services: mongodb: image: mongo:latest container_name: mongodb restart: always expose: - 27017 volumes: - mongodb-data:/data/db networks: - dokploy-network meshcentral: image: ghcr.io/ylianst/meshcentral:latest container_name: meshcentral restart: always networks: - dokploy-network environment: - DYNAMIC_CONFIG=true - HOSTNAME=desk.beyhano.net.tr - PORT=80 - ALIAS_PORT=443 - REDIR_PORT=0 - TLS_OFFLOAD=true - TRUSTED_PROXY=true - NODE_ENV=production - ALLOW_NEW_ACCOUNTS=false - USE_MONGODB=true - MONGO_URL=mongodb://mongodb:27017/meshcentral volumes: - meshcentral-data:/opt/meshcentral/meshcentral-data - meshcentral-files:/opt/meshcentral/meshcentral-files - meshcentral-web:/opt/meshcentral/meshcentral-web - meshcentral-backups:/opt/meshcentral/meshcentral-backups depends_on: - mongodb volumes: mongodb-data: meshcentral-data: meshcentral-files: meshcentral-web: meshcentral-backups: networks: dokploy-network: external: true