Skip to content

This project is a System Administration related with docker

License

Notifications You must be signed in to change notification settings

TN19N/inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install docker

https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/compose/install/other/ --> docker-compose
https://docs.docker.com/engine/install/linux-postinstall/ --> run docker without sudo

Configuration (.env)

### DOMAIN NAME
DOMAIN_NAME="mannouao.42.fr"

### USER ID 
UID="1000"

### GROUP ID
GID="1000"

### DOCKER GROUP ID
DGID="997"

### MYSQL SETUP
MYSQL_ROOT_PASSWORD="azVW36D4FkErhe"
MYSQL_DATABASE="wordpressdb"
MYSQL_USER="wordpressuser"
MYSQL_PASSWORD="fhrENrl66z55yp"

### WORDPRESS SETUP

# - Admine
WORDPRESS_SITE_TITLE="Youcan't"
WORDPRESS_ADMIN_NAME="mannouao"
WORDPRESS_ADMIN_PASSWORD="V8eZVgJWgBzAEGBt"
WORDPRESS_ADMIN_EMAIL="example@gmail.com"

# - User
WORDPRESS_USER_NAME="Mustapha"
WORDPRESS_USER_EMAIL="example2@gmail.com"
WORDPRESS_USER_PASSWORD="104QAW09tyMd"
WORDPRESS_USER_ROLE="author"

### FTP SETUP
FTP_USER_NAME="Mustapha"
FTP_USER_PASSWORD="SqQ59q417Tdb"

Edit the file as you like :)

Diagram

Services

  • wordpress
  • mariadb
  • nginx
  • adminer
  • ftp (vsftpd)
  • portainer
  • portfolio (html + css + javaScript)
  • redis