Ansible roles
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.

20 lines
589 B

version: '3.1'
services:
wordpress-fpm:
image: "{{ item.wp_docker_image }}"
restart: "{{ item.wp_docker_restart }}"
container_name: "{{ item.wp_docker_name }}"
ports: "{{ item.wp_docker_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_NAME: "{{ item.wp_docker_db_name }}"
volumes:
- /opt/wp/"{{ item.wp_docker_name }}"/html:/var/www/html
# conf PHP
# Backups
# cron
# email