3 changed files with 39 additions and 28 deletions
@ -1 +1 @@
@@ -1 +1 @@
|
||||
docker exec -i zp-dr-merettig-wp_db_1 mysql -uzp-dr-merettig -pzp-dr-merettig zp-dr-merettig < /mnt/backup-storage/SQL-Dumps/zeitpunkt-dr-merettig_20190929.sql |
||||
docker exec -i zp-dr-merettig-wp-mariadb mysql -uzp-dr-merettig -pzp-dr-merettig zp-dr-merettig < /mnt/backup-storage/SQL-Dumps/zeitpunkt-dr-merettig_20190929.sql |
||||
|
@ -1,27 +1,38 @@
@@ -1,27 +1,38 @@
|
||||
version: '3.1' |
||||
|
||||
############################################################################### |
||||
# Generated on phpdocker.io # |
||||
############################################################################### |
||||
version: "3.1" |
||||
services: |
||||
|
||||
wordpress: |
||||
image: wordpress |
||||
restart: always |
||||
ports: |
||||
- 8084:80 |
||||
environment: |
||||
WORDPRESS_DB_HOST: db |
||||
WORDPRESS_DB_USER: zp-dr-merettig |
||||
WORDPRESS_DB_PASSWORD: zp-dr-merettig |
||||
WORDPRESS_DB_NAME: zp-dr-merettig |
||||
volumes: |
||||
- /opt/docker/zp-dr-merettig-wp/www:/var/www/html |
||||
memcached: |
||||
image: memcached:alpine |
||||
container_name: zp-dr-merettig-wp-memcached |
||||
|
||||
mariadb: |
||||
image: mariadb:10.4 |
||||
container_name: zp-dr-merettig-wp-mariadb |
||||
volumes: |
||||
- /opt/docker/zp-dr-merettig-wp/mariadb:/var/lib/mysql |
||||
environment: |
||||
- MYSQL_ROOT_PASSWORD=zp-dr-merettig |
||||
- MYSQL_DATABASE=zp-dr-merettig |
||||
- MYSQL_USER=zp-dr-merettig |
||||
- MYSQL_PASSWORD=zp-dr-merettig |
||||
|
||||
webserver: |
||||
image: nginx:alpine |
||||
container_name: zp-dr-merettig-wp-webserver |
||||
working_dir: /application |
||||
volumes: |
||||
- /opt/docker/zp-dr-merettig-wp/public:/application/public |
||||
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf |
||||
ports: |
||||
- "8084:80" |
||||
|
||||
db: |
||||
image: mysql:5.7 |
||||
restart: always |
||||
environment: |
||||
MYSQL_DATABASE: zp-dr-merettig |
||||
MYSQL_USER: zp-dr-merettig |
||||
MYSQL_PASSWORD: zp-dr-merettig |
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1' |
||||
volumes: |
||||
- /opt/docker/zp-dr-merettig-wp/db:/var/lib/mysql |
||||
php-fpm: |
||||
build: phpdocker/php-fpm |
||||
container_name: zp-dr-merettig-wp-php-fpm |
||||
working_dir: /application |
||||
volumes: |
||||
- /opt/docker/zp-dr-merettig-wp:/application |
||||
- ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.3/fpm/conf.d/99-overrides.ini |
||||
|
Loading…
Reference in new issue