-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
44 lines (40 loc) · 996 Bytes
/
docker-compose.yaml
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
version: "3.6"
services:
db:
image: mysql:5.7.26
command: --default-authentication-plugin=mysql_native_password
restart: always
networks:
- testing_net
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: stacke
MYSQL_USER: user
MYSQL_PASSWORD: password
ports:
- 3306:3306
volumes:
- ./dev/init:/docker-entrypoint-initdb.d
server:
image: snimmagadda/stack-exchange-graphql-server:latest
restart: always
networks:
- testing_net
depends_on:
- db
environment:
UNAME: user
PASS: password
SCHEMA: stacke
SERVER: db
ports:
- 8080:8080
networks:
testing_net:
# adminer:
# image: adminer
# restart: always
# depends_on:
# - db
# ports:
# - 8080:8080