You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
1.3 KiB

###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.1"
services:
memcached:
restart: always
image: memcached:alpine
container_name: zp-dr-merettig-wp-memcached
mariadb:
restart: always
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=merettig
- MYSQL_DATABASE=merettig
- MYSQL_USER=merettig
- MYSQL_PASSWORD=merettig
webserver:
restart: always
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"
php-fpm:
restart: always
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