custom-post-type-permalinks
Last commit date
CPTP
6 years ago
assets
8 years ago
language
8 years ago
.rsyncignore
6 years ago
CONTRIBUTING.md
9 years ago
CPTP.php
6 years ago
LICENSE
9 years ago
custom-post-type-permalinks.php
6 years ago
docker-compose.yml
6 years ago
readme.md
7 years ago
readme.txt
6 years ago
screenshot-1.png
14 years ago
docker-compose.yml
55 lines
| 1 | version: '3.1' |
| 2 | |
| 3 | services: |
| 4 | |
| 5 | wordpress: |
| 6 | image: wordpress |
| 7 | ports: |
| 8 | - 50080:80 |
| 9 | environment: |
| 10 | WORDPRESS_DB_PASSWORD: example |
| 11 | ABSPATH: /usr/src/wordpress/ |
| 12 | volumes: |
| 13 | - wordpress:/var/www/html |
| 14 | - .:/var/www/html/wp-content/plugins/custom-post-type-permalinks |
| 15 | depends_on: |
| 16 | - mysql |
| 17 | |
| 18 | cli: |
| 19 | image: wordpress:cli |
| 20 | user: xfs |
| 21 | volumes: |
| 22 | - wordpress:/var/www/html |
| 23 | - ./bin:/opt/bin |
| 24 | - .:/var/www/html/wp-content/plugins/custom-post-type-permalinks |
| 25 | depends_on: |
| 26 | - mysql |
| 27 | - wordpress |
| 28 | command: > |
| 29 | sh /opt/bin/wait-for.sh mysql:3306 -t 60 -- sh /opt/bin/install.sh 50080 |
| 30 | |
| 31 | mysql: |
| 32 | image: mysql:5.7 |
| 33 | environment: |
| 34 | MYSQL_ROOT_PASSWORD: example |
| 35 | MYSQL_DATABASE: wordpress_test |
| 36 | |
| 37 | wordpress_phpunit: |
| 38 | image: chriszarate/wordpress-phpunit |
| 39 | environment: |
| 40 | PHPUNIT_DB_HOST: mysql |
| 41 | volumes: |
| 42 | - .:/app |
| 43 | - testsuite:/tmp |
| 44 | depends_on: |
| 45 | - mysql |
| 46 | |
| 47 | composer: |
| 48 | image: composer |
| 49 | volumes: |
| 50 | - .:/app |
| 51 | |
| 52 | volumes: |
| 53 | testsuite: |
| 54 | wordpress: |
| 55 |