-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (55 loc) · 1.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copy this file to docker-compose.override.yml to edit it.
version: '3.8'
services:
db:
image: mysql:8.0.25
command: --default-authentication-plugin=mysql_native_password
platform: linux/x86_64
container_name: db_docker
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_DATABASE: 'todo_and_co'
MYSQL_ROOT_PASSWORD: 'todo_and_co'
MYSQL_USER: 'todo_and_co'
MYSQL_PASSWORD: 'todo_and_co'
networks:
- todo_and_co
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin_docker
depends_on:
- db
ports:
- 8888:80
environment:
PMA_HOST: db
MYSQL_ROOT_PASSWORD: 'todo_and_co'
MYSQL_USER: 'todo_and_co'
MYSQL_PASSWORD: 'todo_and_co'
networks:
- todo_and_co
www:
build: ./
container_name: www_docker
ports:
- 8000:8000
environment:
BLACKFIRE_CLIENT_ID: # <Your Client ID> or remove it you do not need it.
BLACKFIRE_CLIENT_TOKEN: # <Your Client Token> or remove it you do not need it.
networks:
- todo_and_co
# Removes this section if you do not need it.
blackfire:
image: blackfire/blackfire:2
container_name: blackfire_docker
ports: ["8307"]
environment:
BLACKFIRE_SERVER_ID: # <Your Server ID>
BLACKFIRE_SERVER_TOKEN: # <Your Server Token>
networks:
- todo_and_co
volumes:
db_data:
networks:
todo_and_co: