30 lines
798 B
YAML
Executable File
30 lines
798 B
YAML
Executable File
networks:
|
|
internal:
|
|
services:
|
|
quyoshli:
|
|
image: kooldev/php:8.2
|
|
container_name: quyoshli
|
|
working_dir: /quyoshli
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
volumes:
|
|
- ".:/quyoshli"
|
|
- "./docker/php/php-ini-overrides.ini:/etc/php/8.2/fpm/conf.d/99-overrides.ini"
|
|
environment:
|
|
- PHP_EXECUTABLE_PATH=/usr/local/bin/php
|
|
quyoshli-nginx:
|
|
image: nginx:alpine
|
|
container_name: quyoshli-nginx
|
|
restart: always
|
|
working_dir: /quyoshli
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- "3000:80"
|
|
volumes:
|
|
- .:/quyoshli
|
|
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
|
depends_on:
|
|
- quyoshli
|