|
|
|
@ -2,18 +2,30 @@ version: '3.1' |
|
|
|
|
|
|
|
|
|
services: |
|
|
|
|
wordpress-fpm: |
|
|
|
|
image: "{{ item.wp_docker_image }}" |
|
|
|
|
image: "{{ item.wp_docker_wp_image }}" |
|
|
|
|
restart: "{{ item.wp_docker_restart }}" |
|
|
|
|
container_name: "{{ item.wp_docker_name }}" |
|
|
|
|
ports: "{{ item.wp_docker_port}}" |
|
|
|
|
ports: "{{ item.wp_docker_wp_port}}" |
|
|
|
|
environment: |
|
|
|
|
WORDPRESS_DB_HOST: "{{ item.wp_docker_db_host }}" |
|
|
|
|
WORDPRESS_DB_USER: "{{ item.wp_docker_db_user }}" |
|
|
|
|
WORDPRESS_DB_PASSWORD: "{{ item.wp_docker_db_psw }}" |
|
|
|
|
WORDPRESS_DB_PASSWORD: "{{ item.wp_docker_db_pass }}" |
|
|
|
|
WORDPRESS_DB_NAME: "{{ item.wp_docker_db_name }}" |
|
|
|
|
volumes: |
|
|
|
|
- /opt/wp/"{{ item.wp_docker_name }}"/html:/var/www/html |
|
|
|
|
# conf PHP |
|
|
|
|
# Backups |
|
|
|
|
# cron |
|
|
|
|
# email |
|
|
|
|
# - conf PHP |
|
|
|
|
# - Backups |
|
|
|
|
# - cron |
|
|
|
|
# - email |
|
|
|
|
|
|
|
|
|
phpmyadmin: |
|
|
|
|
image: "{{ item.wp_docker_pma_image }}" |
|
|
|
|
restart: "{{ item.wp_docker_restart }}" |
|
|
|
|
container_name: pma_"{{ item.wp_docker_name }}" |
|
|
|
|
ports: "{{ item.wp_docker_pma_port}}" |
|
|
|
|
environment: |
|
|
|
|
- PMA_ARBITRARY=0 |
|
|
|
|
- PMA_HOST: "{{ item.wp_docker_db_host }}" |
|
|
|
|
- PMA_ABSOLUTE_URI: db."{{ item.wp_docker_url }}" |
|
|
|
|
volumes: |
|
|
|
|
# - |
|
|
|
|