-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 803 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (29 loc) · 803 Bytes
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
version: '2'
services:
mysql:
image: mysql:latest
container_name: mysql
ports:
- "3306:3306"
volumes:
- ./docker/mysql/data_files:/var/lib/mysql
- ./docker/mysql/logs:/var/log/mysql
- ./docker/mysql/mysql-files:/var/lib/mysql-files
- ./docker/mysql/my.cnf:/etc/mysql/my.cnf
environment:
MYSQL_ROOT_PASSWORD: secret
security_opt:
- seccomp:unconfined
node:
build: ./docker/node
working_dir: /home/node
container_name: node
environment:
- NODE_ENV=developer
volumes:
- .:/home/node
ports:
- "3030:3030"
command: bash -c "concurrently
\"bash\"
"