-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (36 loc) · 862 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (36 loc) · 862 Bytes
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
version: '3.8'
networks:
t-bot:
services:
nginx-t-bot:
image: nginx:1.25.1-alpine
container_name: nginx-t-bot
ports:
- ${LOCAL_WEB_PORT}:${APP_WEB_PORT}
volumes:
- ./docker/Nginx/core:/etc/nginx/
- ${LOCAL_PATH_HOST}:${APP_PATH}
- ./docker/Nginx/Logs:/var/log/nginx/
- ./docker/Nginx/html:/usr/share/nginx/html/
depends_on:
- php-t-bot
networks:
- t-bot
php-t-bot:
build:
context: ./docker/PHP8
args:
docker_user: ${DOCKER_USER}
container_name: php-t-bot
volumes:
- ${LOCAL_PATH_HOST}:${APP_PATH}:cached
networks:
- t-bot
redis-t-bot:
image: redis:7.2-rc-alpine
command: ["redis-server", "--appendonly", "yes"]
container_name: redis-t-bot
ports:
- ${LOCAL_REDIS_PORT}:${APP_REDIS_PORT}
networks:
- t-bot