Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
Daniel 82c9e2a6ed adjustments vor 2 Jahren
.docker adjustments vor 2 Jahren
.idea init vor 2 Jahren
src working ssl vor 2 Jahren
.gitignore adjustments vor 2 Jahren
README.md adjustments vor 2 Jahren

README.md

magento-test

#Installation:

Some important information

Some helpful docker commands:

Build all containers

  • docker-compose up -d

Stop all containers

  • docker-compose down

Remove image

  • docker image rm php_apache

Stop containers, remove image and recreation of container

  • docker-compose down && docker image rm php_apache && docker-compose up -d

Get into container

  • docker exec -it php-apache /bin/bash

  • docker build -t magento-php .

  • docker image rm magento_php

  • docker ps

  • docker ps --all

  • docker container stop $(docker container ls -aq)

  • docker container rm $(docker container ls -aq)

  • docker rmi $(docker images -q)

  • docker stop spt_tbuddy && docker rm spt_tbuddy && docker rmi spt_tb && docker-compose up -d

  • docker stop magento-test && docker rm magento-test && docker rmi spt_tb && docker-compose up -d

Some helpful other commands:

  • Restart Apache within the container
    • Go into docker container docker exec -it magento-php /bin/bash
    • Apache restart sudo /etc/init.d/apache2 reload

Clean restart of Docker instance

  1. Stop the container(s) using the following command: docker-compose down
  2. Delete all containers using the following command: docker rm -f $(docker ps -a -q)
  3. Delete all volumes using the following command: docker volume rm $(docker volume ls -q)
  4. Restart the containers using the following command: docker-compose up -d

Enable ssl document

https://time2hack.com/dockerize-php-app-with-apache-on-https/