Docker
This commit is contained in:
parent
96c5b92a5d
commit
cf7c579706
15
Sio2/SISR/50-docker/dokuwiki/docker-compose.yml
Normal file
15
Sio2/SISR/50-docker/dokuwiki/docker-compose.yml
Normal file
@ -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
|
28
Sio2/SISR/50-docker/glpi/docker-compose.yml
Normal file
28
Sio2/SISR/50-docker/glpi/docker-compose.yml
Normal file
@ -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
|
4
Sio2/SISR/50-docker/glpi/mariadb.env
Normal file
4
Sio2/SISR/50-docker/glpi/mariadb.env
Normal file
@ -0,0 +1,4 @@
|
||||
MARIADB_ROOT_PASSWORD=diouxx
|
||||
MARIADB_DATABASE=glpidb
|
||||
MARIADB_USER=glpi_user
|
||||
MARIADB_PASSWORD=glpi
|
33
Sio2/SISR/50-docker/wordpress/docker-compose.yml
Normal file
33
Sio2/SISR/50-docker/wordpress/docker-compose.yml
Normal file
@ -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:
|
Loading…
x
Reference in New Issue
Block a user