File: //tmp/btdk/87jgjafgqs
networks:
default:
driver: bridge
services:
phpfpm:
build:
context: /www/wwwroot/muathuoctot.com/docker/phpfpm
environment:
- PHP__error_reporting=1
ports:
- "9301:9000"
volumes:
- /www/wwwroot/muathuoctot.com/Source:/html
- /www/wwwroot/muathuoctot.com/docker/phpfpm/config_php.ini:/usr/local/etc/php/conf.d/config_php.ini
- /www/wwwroot/muathuoctot.com/docker/phpfpm/custom-phpfpm.ini:/usr/local/etc/php-fpm.d/custom-www.conf
networks:
- default
restart: always
phpcli:
build:
context: /www/wwwroot/muathuoctot.com/docker/phpfpm
environment:
- PHP__error_reporting=1
volumes:
- /www/wwwroot/muathuoctot.com/Source:/html
networks:
- default
command: sh -c "mkdir -p /html/logs &&
echo "" > /var/spool/cron/crontabs/root &&
cat /html/cron.txt >> /var/spool/cron/crontabs/root &&
/usr/sbin/crond -f "
restart: always
mariadb:
restart: always
image: mariadb:10.10
volumes:
- /www/wwwroot/muathuoctot.com/Database/mysql:/var/lib/mysql
- /www/wwwroot/muathuoctot.com/my.cnf:/etc/mysql/conf.d/my.cnf
ports:
- "3338:3306"
networks:
- default
environment:
MYSQL_ROOT_PASSWORD: getOutHereDitmehacker@6102
MYSQL_DATABASE: muathuoctot
MYSQL_USER: root
MYSQL_PASSWORD: getOutHereDitmehacker@6102
elasticsearch:
restart: always
image: elasticsearch:2.4.5
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # Adjust heap size as necessary
volumes:
- /www/wwwroot/muathuoctot.com/elasticsearch:/usr/share/elasticsearch/data
# ports:
# - "9200:9200"
# - "9300:9300"
networks:
- default
rabbitmq:
restart: always
image: rabbitmq:3-management
# ports:
# - "15672:15672" # Management interface
# - "5672:5672" # AMQP port
volumes:
- /www/wwwroot/muathuoctot.com/rabbitmq:/var/lib/rabbitmq
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
networks:
- default
memcached:
restart: always
image: memcached:latest
# - "11211:11211"
networks:
- default
volumes:
mariadb:
phpfpm:
rabbitmq:
elasticsearch: