10000 GitHub - SavchenkoDV/Inception: This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.

Notifications You must be signed in to change notification settings

SavchenkoDV/Inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inception

This manual outlines the step-by-step actions I took, what I did, and what I read. All the links provided here do not contain complete information — I also used StackOverflow and other sources. Nevertheless, these links gave me a general understanding of how everything works, which made it easier to search for information.


visub

Реализация VirtualBox - Ubuntu 20.04, Containers - debian:buster:

  1. Создаем виртуалуальную машину Ubuntu.
  2. Устанавливаем Docker.
  3. Устанавливаем Docker-Compose.
  4. Устанавливаем VIM, MAKE, GIT и другик программы, плагины необходимые для работы.
  5. Меняем в Ubuntu хосты: vim /etc/hosts далее меняем localhost на ****.42.fr.
  6. Создаем Makefile:
      6.1. Задаем общие настройки Makefile - для удобства сборки и пересборки контейнеров:
        6.1.1. Запуск контейнеров.
        6.1.2. Отключение.
        6.1.3. Удаление и очистка всего.
  7. Создаем файл docker-compose.yml:
      7.1. Создаем network.
      7.2. Создаем volumes + еще одна ссылка.
      7.3. Создаем команды на сборку контейнеров - services. Не забываем подключить network и volume.
  8. NGINX - dockerfile, nginx, config, openssl:
      8.1. Устновливем nginx и openssl.
      8.2. Подписываем сертификат openssl.
      8.3. Изменияем конфиг nginx: etc/nginx/sites-enabled/defaul. Ссылка для общего понимания.
      В документации все написанно, прийдеться покопаться:
        8.3.1. Синтаксис конфига.
        8.3.2. Ищем info в интернете, как добавить в config nginx: ssl_portocol TLSv1.2, TLSv1.3 и ssl_certificate.
      8.4. Запускаем контейнер, demon off.
  9. MARIADB - dockerfile, mariadb, config 50-server, создание базы данных:
      9.1. Установка.
      9.2. Создание базы данных:
        9.2.1. host_name должен быть либо %, либо Вы должны задать его принудительно и использовать его имя.
      9.3. Настраиваем 50-server.cnf - закрываем локальные хосты открываем 3306.
      9.4. Запускаем.
  10. WORDPRESS - dockerfile, wordpress, php, wp-config, php-fpm, ввв.conf:
      10.1. Для работы wordpress требуется.
      10.2. Устанавливаем php и php-fpm.
      10.3. Настраиваем ввв.conf и цепляем к ngixn: /etc/php/x.x/fpm/pool.d
      10.4. Устанавливаем wordpress: /etc/php/x.x/fpm/pool.d
      10.5. Запускаем.

About

This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0