-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (51 loc) · 1.38 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
version: '2'
services:
db:
image: mysql:8.0.33
container_name: symfony_docker_mysql
restart: unless-stopped
environment:
MYSQL_USER: user
MYSQL_PASSWORD: user123
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: root
volumes:
- symfony-docker-db_volume:/var/lib/mysql:rw
ports:
- "3336:3306"
php:
image: klizzy/php-base:8.2.12
container_name: symfony_docker_php
restart: unless-stopped
environment:
APACHE_DOCUMENT_ROOT: /var/www/public
volumes:
- ./www:/var/www
ports:
- "8080:80"
redis:
image: redis:6.2.3
container_name: symfony_docker_redis
restart: unless-stopped
ports:
- "6379:6379"
rabbitmq:
image: rabbitmq:3.8.16-management
container_name: symfony_docker_rabbitmq
restart: unless-stopped
environment:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin
ports:
- "15672:15672"
- "5672:5672"
mailer:
image: schickling/mailcatcher
container_name: symfony_docker_mailcatcher
restart: unless-stopped
ports:
- "1025"
- "1080:1080"
volumes:
symfony-docker-volume: {}
symfony-docker-db_volume: