service-captcha/docker-compose.yml

28 lines
818 B
YAML
Raw Normal View History

2023-03-05 20:14:04 +06:00
version: '3'
services:
web:
image: docker.angie.software/angie
volumes:
- ./docker/dev/angie/config/default.conf:/etc/angie/http.d/default.conf
- ./:/var/www/html
ports:
- ${DOCKER_ANGIE_PORT}:80
#restart: always
depends_on:
- app
- redis
app:
image: service-captcha-laravel
container_name: service-captcha-laravel-www
build: ./docker/dev/php
#restart: always
user: 1000:1000
volumes:
- ./docker/dev/php/config/php.ini:/usr/local/etc/php/conf.d/php.ini
- ./docker/dev/php/config/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini
- ./:/var/www/html
expose:
- "9000"
redis:
image: redis:3.0-alpine