-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
99 lines (90 loc) · 2.12 KB
/
docker-compose.local.yml
File metadata and controls
99 lines (90 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '3.8'
# Локальная версия БЕЗ Traefik
services:
nginx:
image: nginx:1.25-alpine
container_name: bitrix_nginx
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./bitrix24:/var/www/bitrix24
- ./docker/nginx/conf.d:/etc/nginx/conf.d
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- php-fpm
networks:
- bitrix-network
php-fpm:
build:
context: ./docker/php-fpm
container_name: bitrix_php
restart: unless-stopped
volumes:
- ./bitrix24:/var/www/bitrix24
- ./docker/php-fpm/php.ini:/usr/local/etc/php/php.ini
- ./docker/php-fpm/www.conf:/usr/local/etc/php-fpm.d/www.conf
depends_on:
- postgres
- redis
- minio
networks:
- bitrix-network
postgres:
image: postgres:16-alpine
container_name: bitrix_postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_DB: bitrix
POSTGRES_USER: bitrix
POSTGRES_PASSWORD: bitrix_password
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- postgres-data:/var/lib/postgresql/data
- ./docker/postgres/init:/docker-entrypoint-initdb.d
networks:
- bitrix-network
redis:
image: redis:7-alpine
container_name: bitrix_redis
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- bitrix-network
minio:
image: minio/minio:latest
container_name: bitrix_minio
restart: unless-stopped
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin123
volumes:
- minio-data:/data
command: server /data --console-address ":9001"
networks:
- bitrix-network
adminer:
image: adminer:latest
container_name: bitrix_adminer
restart: unless-stopped
ports:
- "8080:8080"
environment:
ADMINER_DEFAULT_SERVER: postgres
networks:
- bitrix-network
networks:
bitrix-network:
driver: bridge
volumes:
postgres-data:
redis-data:
minio-data: