Web Technology Kitchen

Submitted by barnettech on Thu, 09/06/2018 - 14:48

We provide website and other technology services. We'll create new great websites, maintain them, do security for them, and we also do automation and any other workflow you need. Websites, Drupal, Python, C#, Unity, security, automation, APIs, VR/AR, gaming, mobile, responsive design, please be in touch for a consultation at jbarnett@webtechkitchen.com. Feel free to peruse our blog postings below. If you're not a tech, the tech below is open sourced knowledge share and you don't need to read a lick of it, just email us to setup an initial phone consultation and let us take care of you and your tech business needs

docker cp

Submitted by barnettech on Fri, 01/10/2020 - 13:57

first sftp up to the vm with docker containers then:

docker cp drupal8.sql wordpress_db_1:/drupal8.sql

docker-compose.yml drupal connecting to a mysql instance

Submitted by barnettech on Fri, 01/10/2020 - 12:50
./root/drupal8/docker-compose.yml
# Drupal with MySQL
#
# Access via "http://localhost:8080"
#   (or "http://$(docker-machine ip):8080" if using docker-machine)
#
# During initial Drupal setup,
# Database type: PostgreSQL
# Database name: postgres
# Database username: postgres
# Database password: example
# ADVANCED OPTIONS; Database host: postgres

version: '3.3'

services:

  drupal:
    image: drupal:8-apache
    ports:
      - 8081:80
    volumes:
      - /opt/drupal8/modules:/var/www/html/modules
      - /opt/drupal8/profiles:/var/www/html/profiles