copied configuration from vupiuesse

a temporary configuration had to be done on vupiuesse in order to cope
with the consequences of Strasbourg incident, and now they have to be
integrated
This commit is contained in:
giomba 2021-03-23 13:56:37 +01:00
parent bc53fc18c9
commit 08435e46a3
3 changed files with 53 additions and 2 deletions

View File

@ -1,9 +1,9 @@
version: "2"
services:
nextcloud:
image: nextcloud:17.0.10
image: nextcloud:21
ports:
- 8000:80
- "7080:80"
depends_on:
- db
volumes:

24
wiki/docker-compose.yml Normal file
View File

@ -0,0 +1,24 @@
version: "3.3"
services:
wiki:
image: mediawiki:1.31
restart: unless-stopped
volumes:
- /srv/wiki/images:/var/www/html/images
- /srv/wiki/LocalSettings.php:/var/www/html/LocalSettings.php
ports:
- "7050:80"
depends_on:
- db
db:
image: mariadb
restart: unless-stopped
volumes:
- /srv/wiki/db:/var/lib/mysql
environment:
MYSQL_DATABASE: golem_wiki
MYSQL_USER: golem
MYSQL_PASSWORD: Pl4uUBs0LofHNxwXJpTkEg
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'

View File

@ -0,0 +1,27 @@
version: "3.3"
services:
wordpress:
depends_on:
- db
image: wordpress:5.7
restart: unless-stopped
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: apVSHnTUrfDIdE5YcFvng
WORDPRESS_DB_NAME: golem_wordpress
ports:
- "7070:80"
volumes:
- "/srv/wordpress/app:/var/www/html"
# - "/srv/sito:/var/www/html/sito"
db:
image: mariadb:latest
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: apVSHnTUrfDIdE5YcFvng
volumes:
- "/srv/wordpress/db:/var/lib/mysql"
- "/tmp/golem_wordpress_dump.sql:/docker-entrypoint-initdb.d/dump.sql"