-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
48 lines (44 loc) · 1.18 KB
/
docker-compose.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
version: '3'
services:
dalalserver:
container_name: dalalstreet-server
image: dalalstreet_server
build: .
restart: always
volumes:
- ./docker/logs/:/dalal-street-server/logs/
- ./public/:/dalal-street-server/public/
ports:
- "${SERVER_PORT}:8000"
depends_on:
- db
env_file:
- .env
db:
container_name: dalalstreet-db
image: mysql:5.7
restart: always
volumes:
- ./docker/mysql:/var/lib/mysql
env_file:
- .env
environment:
MYSQL_DATABASE: ${DB_NAME}
MYSQL_ROOT_PASSWORD: ${DB_PASS}
phpmyadmin:
container_name: dalalstreet-pma
image: phpmyadmin/phpmyadmin
restart: always
ports:
- "${PMA_PORT}:80"
depends_on:
- db
dalalenvoy:
container_name: dalalstreet-envoy
image: dalalstreet_envoy
restart: always
build:
context: ./dalal-envoy-proxy/
dockerfile: dockerfiles/Dockerfile.dev
ports:
- "${ENVOY_PORT}:3000"