docker-SemanticScuttle-stack/docker-compose.yml

38 lines
832 B
YAML

version: "2.1"
services:
apache-for-fpm:
image: apache-scuttle:$VERSION_APACHE_FPM
#build: "https://git.scimetis.net/yohan/docker-apache-for-fpm.git"
container_name: apache-scuttle
networks:
- reverse-proxy
- php5-fpm
volumes:
- /mnt/volumes/scuttle_code/data:/var/www/html:z
environment:
FPM_HOST: php5-fpm:9000
SERVER_NAME: scuttle.scimetis.net
php5-fpm:
image: php5-fpm:$VERSION_PHP_FPM
#build: "https://git.scimetis.net/yohan/docker-php5-fpm.git"
container_name: php5-fpm
networks:
- php5-fpm
- mysqlnet
volumes:
- /mnt/volumes/scuttle_code/data:/var/www/html:z
- /mnt/volumes/scuttle_php5-fpm_conf/data:/etc/php5/fpm/pool.d:Z
networks:
reverse-proxy:
external: true
php5-fpm:
mysqlnet:
external: true