-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
55 lines (51 loc) · 1011 Bytes
/
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
49
50
51
52
53
54
55
version: '3'
services:
postgres:
image: postgres:latest
ports:
- '15432:5432'
env_file:
- .env
restart: always
volumes:
- ./00-postgres.sql:/docker-entrypoint-initdb.d/postgres.sql
- ./postgres-data:/var/lib/postgresql/data
mysql:
image: mysql:latest
ports:
- '3306:3306'
env_file:
- .env
restart: always
volumes:
- ./mysql-data:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
restart: always
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- '8089:80'
depends_on:
- mysql
hasura:
image: hasura/graphql-engine:latest
ports:
- '8084:8080'
depends_on:
- 'postgres'
env_file:
- .env
restart: always
server:
image: server
build:
context: .
dockerfile: src/Dockerfile
ports:
- 5078:5078
depends_on:
- postgres