diff --git a/Sio2/SISR/50-docker/dokuwiki/docker-compose.yml b/Sio2/SISR/50-docker/dokuwiki/docker-compose.yml new file mode 100644 index 0000000..b786d6c --- /dev/null +++ b/Sio2/SISR/50-docker/dokuwiki/docker-compose.yml @@ -0,0 +1,15 @@ +version: "2.1" +services: + dokuwiki: + image: lscr.io/linuxserver/dokuwiki:latest + container_name: dokuwiki + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/London + volumes: + - /path/to/appdata/config:/config + ports: + - 8000:80 + - 443:443 #optional + restart: unless-stopped diff --git a/Sio2/SISR/50-docker/glpi/docker-compose.yml b/Sio2/SISR/50-docker/glpi/docker-compose.yml new file mode 100644 index 0000000..d56a85f --- /dev/null +++ b/Sio2/SISR/50-docker/glpi/docker-compose.yml @@ -0,0 +1,28 @@ +version: "3.2" + +services: +#MariaDB Container + mariadb: + image: mariadb:10.7 + container_name: mariadb + hostname: mariadb + volumes: + - /var/lib/mysql:/var/lib/mysql + env_file: + - ./mariadb.env + restart: always + +#GLPI Container + glpi: + image: diouxx/glpi + container_name : glpi + hostname: glpi + ports: + - "8081:80" + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + - /var/www/html/glpi/:/var/www/html/glpi + environment: + - TIMEZONE=Europe/Brussels + restart: always diff --git a/Sio2/SISR/50-docker/glpi/mariadb.env b/Sio2/SISR/50-docker/glpi/mariadb.env new file mode 100644 index 0000000..c3a1ad6 --- /dev/null +++ b/Sio2/SISR/50-docker/glpi/mariadb.env @@ -0,0 +1,4 @@ +MARIADB_ROOT_PASSWORD=diouxx +MARIADB_DATABASE=glpidb +MARIADB_USER=glpi_user +MARIADB_PASSWORD=glpi diff --git a/Sio2/SISR/50-docker/wordpress/docker-compose.yml b/Sio2/SISR/50-docker/wordpress/docker-compose.yml new file mode 100644 index 0000000..54e0762 --- /dev/null +++ b/Sio2/SISR/50-docker/wordpress/docker-compose.yml @@ -0,0 +1,33 @@ +services: + db: + # We use a mariadb image which supports both amd64 & arm64 architecture + image: mariadb:10.6.4-focal + # If you really want to use MySQL, uncomment the following line + #image: mysql:8.0.27 + command: '--default-authentication-plugin=mysql_native_password' + volumes: + - db_data:/var/lib/mysql + restart: always + environment: + - MYSQL_ROOT_PASSWORD=somewordpress + - MYSQL_DATABASE=wordpress + - MYSQL_USER=wordpress + - MYSQL_PASSWORD=wordpress + expose: + - 3306 + - 33060 + wordpress: + image: wordpress:latest + volumes: + - wp_data:/var/www/html + ports: + - 80:80 + restart: always + environment: + - WORDPRESS_DB_HOST=db + - WORDPRESS_DB_USER=wordpress + - WORDPRESS_DB_PASSWORD=wordpress + - WORDPRESS_DB_NAME=wordpress +volumes: + db_data: + wp_data: