48 lines
907 B
YAML
48 lines
907 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
|
|
restart: always
|
|
networks:
|
|
- reverse-proxy
|
|
- php5-fpm
|
|
volumes:
|
|
- scuttle_code:/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
|
|
restart: always
|
|
networks:
|
|
- php5-fpm
|
|
- mysqlnet
|
|
volumes:
|
|
- scuttle_code:/var/www/html:z
|
|
- scuttle_php5-fpm_conf:/etc/php5/fpm/pool.d:Z
|
|
|
|
networks:
|
|
|
|
reverse-proxy:
|
|
external: true
|
|
|
|
php5-fpm:
|
|
|
|
mysqlnet:
|
|
external: true
|
|
|
|
volumes:
|
|
|
|
scuttle_code:
|
|
external: true
|
|
|
|
scuttle_php5-fpm_conf:
|
|
external: true
|