-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (39 loc) · 1 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
services:
app:
image: thebiggive/php:dev-8.3
platform: linux/amd64
environment:
docker: "true"
env_file:
- .env
ports:
- "30050:80"
volumes:
- .:/var/www/html
depends_on:
- db
networks:
- identity
- matchbot_matchbot # used to send update messages to matchbot on dev machines
db:
image: mysql:8.0
platform: linux/amd64
command: --default-authentication-plugin=mysql_native_password
ports:
- "30051:3306"
environment:
MYSQL_DATABASE: identity
MYSQL_ROOT_PASSWORD: tbgLocal123
networks:
- identity
# sharing matchbot's redis as it carries symfony messages on dev machines
# redis:
# image: redis:7.0
# platform: linux/amd64
# networks:
# - identity
networks:
identity:
external: false
matchbot_matchbot:
external: true