-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 1.01 KB
/
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
version: '2'
networks:
blogaboutit:
services:
app:
image: seamyd/blogaboutit
build: .
container_name: blogaboutit-app
networks:
- blogaboutit
environment:
NODE_ENV: production
depends_on:
- db
# ports:
# - "2368:2368"
restart: always
nginx:
image: seamyd/blogaboutit-nginx
container_name: blogaboutit-nginx
networks:
- blogaboutit
ports:
- "80:80"
depends_on:
- app
restart: always
db:
image: "mysql:5.7.15"
container_name: blogaboutit-mysql
networks:
- blogaboutit
environment:
MYSQL_ROOT_PASSWORD: ditismijnsuperveiligwachtwoord
MYSQL_USER: amaes
MYSQL_PASSWORD: ditismijnveiligwachtwoord
# ports:
# - "3306:3306"
volumes:
- /Users/amaes/.DATA/MYSQL/5.7.15:/var/lib/mysql
restart: always