HEX
Server: nginx/1.26.1
System: Linux 850a3e23ecee 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64
User: (1000)
PHP: 8.2.27
Disabled: NONE
Upload Files
File: //proc/self/root/tmp/btdk/gfoemx5up9
networks:
  default:
    driver: bridge


services:
  wordpress:
    image: wordpress:php8.2-fpm-alpine
    user: 1001:1001
    logging:
      options:
        max-size: "10m"
        max-file: "3"
    restart: always
    ports:
      - "9101:9000" # tăng xxxx tránh trùng "xxxx:9000" ( nên theo thứ tự 9000 -> 9001 )
    networks:
      - default    
    environment:
      WORDPRESS_DB_HOST: mysql 
      WORDPRESS_DB_USER: giaonhan247.vn
      WORDPRESS_DB_PASSWORD: we4hswef2sad@SDFSD!!s 
      WORDPRESS_DB_NAME: giaonhan247.vn
    volumes:
      - /www/wwwroot/giaonhan247.vn/public_html:/var/www/html 
      - /www/wwwroot/giaonhan247.vn/config_php.ini:/usr/local/etc/php/conf.d/config_php.ini
      - /tmp:/tmp


  mysql:
    image: mariadb:10.10
    logging:
      options:
        max-size: "10m"
        max-file: "3"
    networks:
      - default
    restart: always
    environment:
      MYSQL_DATABASE: giaonhan247.vn  
      MYSQL_USER: giaonhan247.vn
      MYSQL_PASSWORD: we4hswef2sad@SDFSD!!s
      MYSQL_ROOT_PASSWORD: we4hswef2sad@SDFSD!!s
      MYSQL_EXTRA_FLAGS: "--innodb-use-native-aio=0"
    volumes:
      - /www/wwwroot/giaonhan247.vn/database:/var/lib/mysql
      - /tmp:/tmp

volumes:
  wordpress:
  mysql: