-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
103 lines (94 loc) · 2.35 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# docker-compose.yml
services:
histologe_mysql:
image: 'mysql:8.0.35'
command: --max_allowed_packet=32505856
container_name: histologe_mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: histologe_db
MYSQL_USER: histologe
MYSQL_PASSWORD: histologe
MYSQL_TCP_PORT: 3307
ports:
- 3307:3307
volumes:
- dbdata:/var/lib/mysql
- ./.docker/mysql:/docker-entrypoint-initdb.d
histologe_phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- histologe_mysql
restart: always
container_name: histologe_phpmyadmin
environment:
PMA_HOST: histologe_mysql
PMA_PORT: 3307
PMA_USER: histologe
PMA_PASSWORD: histologe
ports:
- 8081:80
histologe_phpfpm:
build: .docker/php-fpm
container_name: histologe_phpfpm
depends_on:
- histologe_wiremock
- histologe_clamav
working_dir: /app
environment:
DATABASE_URL: ${DATABASE_URL}
MAILER_DSN: ${MAILER_DSN}
WIREMOCK_HOSTNAME: ${WIREMOCK_HOSTNAME}
WIREMOCK_PORT: ${WIREMOCK_PORT}
MESSENGER_TRANSPORT_DSN: ${MESSENGER_TRANSPORT_DSN}
volumes:
- .:/app/
histologe_phpworker:
build: .docker/php-worker
container_name: histologe_worker
working_dir: /app
environment:
DATABASE_URL: ${DATABASE_URL}
MAILER_DSN: ${MAILER_DSN}
WIREMOCK_HOSTNAME: ${WIREMOCK_HOSTNAME}
WIREMOCK_PORT: ${WIREMOCK_PORT}
MESSENGER_TRANSPORT_DSN: ${MESSENGER_TRANSPORT_DSN}
volumes:
- .:/app/
histologe_nginx:
build: .docker/nginx
depends_on:
- histologe_phpfpm
container_name: histologe_nginx
working_dir: /app
volumes:
- .:/app/
- ./.scalingo/nginx/server.location:/etc/nginx/conf.d/server.location
ports:
- 8080:80
histologe_mailer:
image: schickling/mailcatcher
container_name: histologe_mailer
ports:
- 1025:1025
- 1080:1080
histologe_wiremock:
image: wiremock/wiremock:2.35.0
container_name: histologe_wiremock
ports:
- 8082:8080
volumes:
- .:/home/wiremock
histologe_redis:
image: redis:7.2.5-alpine
container_name: histologe_redis
histologe_clamav:
image: clamav/clamav
container_name: histologe_clamav
ports:
- 3310:3310
volumes:
- .:/app/
volumes:
dbdata: