Changeset 55482 for branches/6.0/docker-compose.yml
- Timestamp:
- 03/07/2023 07:36:29 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0/docker-compose.yml
r53350 r55482 49 49 - ./:/var/www 50 50 51 # Copy or delete the Memcached dropin plugin file as appropriate. 52 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" 53 51 54 depends_on: 52 55 - mysql 56 57 # The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly. 58 init: true 59 60 extra_hosts: 61 - localhost:host-gateway 53 62 54 63 ## … … 56 65 ## 57 66 mysql: 58 image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}67 image: amd64/${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest} 59 68 60 69 networks: … … 95 104 init: true 96 105 106 extra_hosts: 107 - localhost:host-gateway 108 109 ## 110 # The Memcached container. 111 ## 112 memcached: 113 image: memcached 114 115 networks: 116 - wpdevnet 117 118 ports: 119 - 11211:11211 120 97 121 volumes: 98 122 # 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.