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/thread-self/root/tmp/2cc81cfc5d5f07d6c29ce58098eb7eec.yml
networks:
  custom_bridge:
    external: true

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


  sql_goprint.vn:
    image: mariadb:10.4.11
    logging:
      options:
        max-size: "10m"
        max-file: "3"
    networks:
      - custom_bridge
    restart: always
    environment:
      MYSQL_DATABASE: goprint.vn
      MYSQL_USER: goprint.vn
      MYSQL_PASSWORD: we4hs2222sad@SDFSD!!s
      MYSQL_ROOT_PASSWORD: we4hs2222sad@SDFSD!!s
    volumes:
      - /www/wwwroot/goprint.vn/database:/var/lib/mysql
      - /tmp:/tmp


volumes:
  wordpress:
  mysql:
  redis: