Leonid Nikitin
d8bf5dd116
The lines setting up volumes for the 'swagger' service were commented out and redundant, leading to potential confusion. This commit removes those lines to clean up and simplify the file.
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
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:
|
|
- db
|
|
- redis
|
|
- app
|
|
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
|
|
db:
|
|
image: mysql:8.0.33
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
#restart: always
|
|
ports:
|
|
- ${DOCKER_DB_PORT}:3306
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
|
MYSQL_DATABASE: ${DB_DATABASE}
|
|
MYSQL_USER: ${DB_USERNAME}
|
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
|
volumes:
|
|
- ./docker/dev/db:/var/lib/mysql
|
|
- ./docker/dev/my.cnf:/etc/mysql/conf.d/my.cnf
|
|
swagger:
|
|
image: swaggerapi/swagger-ui
|
|
environment:
|
|
URLS: "[ { url: '/swagger.json', name: '/swagger.json' } ]"
|
|
BASE_URL: /api-docs
|
|
ports:
|
|
- "8080"
|
|
adminer:
|
|
image: adminer
|
|
#restart: always
|
|
ports:
|
|
- ${DOCKER_ADMINER_PORT}:8080
|