118 lines
3.1 KiB
YAML
Executable File
118 lines
3.1 KiB
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"
|
|
links:
|
|
- quyoshli-postgres
|
|
depends_on:
|
|
- quyoshli-postgres
|
|
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:
|
|
- "9005:80"
|
|
volumes:
|
|
- .:/quyoshli
|
|
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
|
depends_on:
|
|
- quyoshli
|
|
quyoshli-postgres:
|
|
image: postgres:15
|
|
restart: always
|
|
container_name: quyoshli-postgres
|
|
networks:
|
|
- internal
|
|
environment:
|
|
- POSTGRES_DB=quyoshli
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=quyoshli23092005felix
|
|
volumes:
|
|
- quyoshli-postgres:/var/lib/postgresql/data
|
|
ports:
|
|
- "5433:5432"
|
|
quyoshli-database:
|
|
image: mariadb:latest
|
|
restart: always
|
|
container_name: quyoshli-database
|
|
working_dir: /quyoshli
|
|
networks:
|
|
- internal
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=password
|
|
- MYSQL_DATABASE=quyoshli
|
|
- MYSQL_USER=root
|
|
- MYSQL_PASSWORD=password
|
|
volumes:
|
|
- quyoshli-database:/var/lib/mysql
|
|
ports:
|
|
- "8003:3306"
|
|
quyoshli-redis:
|
|
image: "redis:alpine"
|
|
ports:
|
|
- "${FORWARD_REDIS_PORT:-6381}:6381"
|
|
volumes:
|
|
- quyoshli-redis:/data
|
|
networks:
|
|
- internal
|
|
command: redis-server --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81
|
|
|
|
app:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
command: sh -c "npm install && npm run build"
|
|
quyoshli-npm:
|
|
image: node:20-alpine
|
|
container_name: quyoshli-npm
|
|
working_dir: /quyoshli
|
|
volumes:
|
|
- ".:/quyoshli"
|
|
depends_on:
|
|
- quyoshli
|
|
adminer:
|
|
image: adminer
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- "8080:8080"
|
|
minio:
|
|
image: 'minio/minio:latest'
|
|
container_name: quyoshli-minio
|
|
ports:
|
|
- '9100:9100'
|
|
- '9101:9101'
|
|
environment:
|
|
MINIO_ROOT_USER: 'admin'
|
|
MINIO_ROOT_PASSWORD: 'password'
|
|
volumes:
|
|
- 'quyoshli-minio:/data'
|
|
command: server /data --address ":9100" --console-address ":9101"
|
|
networks:
|
|
- internal
|
|
volumes:
|
|
quyoshli-postgres:
|
|
driver: local
|
|
quyoshli-database:
|
|
driver: local
|
|
quyoshli-redis:
|
|
driver: local
|
|
quyoshli-minio:
|
|
driver: local
|