-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (47 loc) · 899 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
version: "3.0"
services:
node:
build:
context: .
dockerfile: Dockerfile
args:
NODE_VERSION: 12
command: node examples/example.js
image: node:12
environment:
- PORT=4000
ports:
- "4001:4000"
volumes:
- .:/usr/src/app
networks:
- borneo
db:
image: mysql:latest
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: 23101993
ports:
- "3307:3306"
networks:
- borneo
dbMssql:
image: mcr.microsoft.com/mssql/server:2019-CU14-ubuntu-20.04
restart: always
environment:
ACCEPT_EULA: Y
SA_PASSWORD: 23101993Can.
ports:
- "1433:1433"
networks:
- borneo
adminer:
image: adminer
restart: always
ports:
- 8080:8080
networks:
- borneo
networks:
borneo: