-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
42 lines (40 loc) · 989 Bytes
/
docker-compose.dev.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
version: '2'
services:
### NuxtJS frontend Container #############################
nuxtjs-frontend:
ports:
- 3333:3333
- 4000:4000
command: ["npm", "run", "dev"]
### adonisjs admin Container ###########################
adonisjs-admin:
command: ["npm", "run", "dev"]
### WordPress Container ###################################
wordpress:
links:
- mysql
### WPCLI ##################################################
wpcli:
links:
- mysql
### MYSQL CONTAINER #########################################
mysql:
image: mysql:latest
volumes:
- ./db:/docker-entrypoint-initdb.d
volumes_from:
- applications
environment:
MYSQL_ROOT_PASSWORD: "sc123"
MYSQL_DATABASE: "sc"
MYSQL_USER: "not_root"
MYSQL_PASSWORD: "sc123"
ports:
- 3306:3306
command: mysqld --sql_mode=""
container_name: ad4-mysql
networks:
- sc_backend
volumes:
mysql:
driver: "local"