|
1234567891011121314151617181920212223242526272829303132 |
- version: '3.8'
-
- services:
- php:
- container_name: php
- build:
- context: ./php
- env_file:
- - config.env
- ports:
- - '9000:9000'
- volumes:
- - ./site:/var/www/html
-
- nginx:
- container_name: nginx
- image: nginx:latest
- ports:
- - '8080:80'
- volumes:
- - ./site:/var/www/html
- - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
- depends_on:
- - php
-
- solr:
- container_name: solr
- image: solr:latest
- ports:
- - '8983:8983'
- volumes:
- - ./solrdata:/var/solr
|