2017-06-15 18 views

回答

0

我建议你以这种方式使用图像。把你的应用放到app文件夹中,如果你想连接到memcached,主机是“memcached”

version: '3' 

services: 
    app: 
    image: php:apache 
    container_name: app 
    ports: 
     - 80:80 
    volumes: 
     - ./app/:/var/www/html/ 
    memcache: 
    image: memcached:alpine 
相关问题