Search
 
SCRIPT & CODE EXAMPLE
 

SQL

setup mysql and wordpress on docker mac

version: "3.9"

services:
  db:
    image: mysql:5.7
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: dbpassword
      MYSQL_DATABASE: wordpress_local
      MYSQL_USER: wordpress_db_user
      MYSQL_PASSWORD: wordpress_db_password

  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    volumes:
      - wordpress_data:/var/www/html
    ports:
      - "8000:80"
    restart: always
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wordpress_db_user
      WORDPRESS_DB_PASSWORD: wordpress_db_password
      WORDPRESS_DB_NAME: wordpress_local
volumes:
  db_data: {}
  wordpress_data: {}
Comment

PREVIOUS NEXT
Code Example
Sql :: why mongodb is better than sql 
Sql :: mssql xml 
Sql :: ring MySQL get a list of columns names 
Sql :: run eroku psql 
Sql :: how to install mysql without admin rights 
Sql :: knex last insert id mysql 
Sql :: sql commands in android 
Sql :: t-sql cheat sheet 
Sql :: sql truncate table referencing itself 
Sql :: cube oracle 
Sql :: mysqlimport: Error: 4166 
Sql :: flush user resource mysql 
Sql :: Priviledges on table from other schema 
Sql :: influxdb clone measurement 
Sql :: mysql use password error 
Sql :: how to see table associated with a schema in sql 
Sql :: executescalar in sql server 
Sql :: radius search with point data in mysql 
Sql :: Stack conditions in CASE statement in PL/SQL 
Sql :: if new such record in where condition in sql so what is return 
Sql :: python simple crud application using sqlite 
Sql :: mysql workbench copy table structure 
Sql :: scheduled mysql database backup in linux 
Sql :: create darabase in sql 
Sql :: select into a new table mysql 
Sql :: alter server set options dbserver oracle fdw 
Sql :: database traccar 
Sql :: stratified sampling sql 
Sql :: get all employees if name ends with in sql 
Sql :: How Much Space is PL/Scope Data Using? 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =