-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dist.yml
67 lines (61 loc) · 1.46 KB
/
docker-compose-dist.yml
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
version: '3.3'
services:
nginx:
build:
context: ./docker/nginx
container_name: svsc_nginx
restart: unless-stopped
tty: true
environment:
- NODE_OPTIONS=--openssl-legacy-provider
ports:
- "8089:80"
- "8088:8080"
volumes:
- ./backend:/var/www/backend
- ./frontend:/app
- ./docker/nginx/conf.d/:/etc/nginx/conf.d/:cached
networks:
- app-network
php:
build:
context: ./docker/php
args:
WITH_XDEBUG: 'false'
container_name: svsc_php
restart: unless-stopped
tty: true
environment:
SERVICE_NAME: app
SERVICE_TAGS: dev
PHP_IDE_CONFIG: "serverName=search-vscode"
XDEBUG_CONFIG: "remote_host=host.docker.internal remote_port=9003"
working_dir: /var/www/backend
volumes:
- ./backend:/var/www/backend
- ./docker/php/local.ini:/usr/local/etc/php/conf.d/local.ini:cached
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf:cached
networks:
- app-network
redis:
container_name: svsc_redis
image: redis:alpine
volumes:
- redis-data:/data
networks:
- app-network
rabbitmq:
container_name: svsc_rabbit
image: rabbitmq:3.9.1-management
restart: always
volumes:
- ./docker/rabbitmq/rabbitmq.conf/:/etc/rabbitmq/rabbitmq.conf/
networks:
- app-network
networks:
app-network:
external:
name: svsc-bridge
volumes:
redis-data:
driver: local