Changeset 53895 for trunk/docker-compose.yml
- Timestamp:
- 08/13/2022 11:23:26 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/docker-compose.yml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docker-compose.yml
r53636 r53895 49 49 - ./tools/local-env/php-config.ini:/usr/local/etc/php/conf.d/php-config.ini 50 50 - ./:/var/www 51 52 # Copy or delete the Memcached dropin plugin file as appropriate. 53 command: /bin/sh -c "if [ $LOCAL_PHP_MEMCACHED = true ]; then cp -n /var/www/tests/phpunit/includes/object-cache.php /var/www/src/wp-content/object-cache.php; else rm -f /var/www/src/wp-content/object-cache.php; fi && exec php-fpm" 51 54 52 55 depends_on: … … 105 108 - localhost:host-gateway 106 109 110 ## 111 # The Memcached container. 112 ## 113 memcached: 114 image: memcached 115 116 networks: 117 - wpdevnet 118 119 ports: 120 - 11211:11211 121 107 122 volumes: 108 123 # So that sites aren't wiped every time containers are restarted, MySQL uses a persistent volume.
Note: See TracChangeset
for help on using the changeset viewer.