-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (45 loc) · 894 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
49
50
51
version: '3'
services:
database:
container_name: database
image: mysql:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: motdepasse
MYSQL_ALLOW_EMPTY_PASSWORD: no
MYSQL_USER: user
MYSQL_PASSWORD: pass
MYSQL_DATABASE: symfony
volumes:
- database_data:/var/lib/mysql
networks:
- mynetwork
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin:latest
restart: always
ports:
- '8080:80'
depends_on:
- database
networks:
- mynetwork
environment:
PMA_HOST: database
mailer:
container_name: mailer
image: schickling/mailcatcher
ports: ["1025", "1080"]
symfony :
container_name: symfony
build: ./app
ports:
- 80:80
depends_on:
- database
networks:
- mynetwork
volumes:
database_data:
networks:
mynetwork: