-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1006 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
version: "2.4"
services:
sarplan-frontend:
env_file:
- ./.docker/.env
container_name: sarplan-frontend
environment:
- XDEBUG_HOST=${CONTAINER_HOST_IP}
build:
context: ./
target: sarplan_tooling
args:
XDEBUG_ENABLED: "true"
UID: $USERID
GID: $GROUPID
UNAME: $USERNAME
volumes:
- ./src:/var/www/
- ./.docker/php.ini:/usr/local/etc/php/conf.d/php.ini
user: 1000:1000
ports:
- 80:80
- 5173:5173
depends_on:
- sarplan-database-phpmyadmin
sarplan-database:
container_name: sarplan-database
image: percona
environment:
MYSQL_USER: sarplandb
MYSQL_PASSWORD: sarplandb
MYSQL_RANDOM_ROOT_PASSWORD: "true"
MYSQL_DATABASE: sarplan
sarplan-database-phpmyadmin:
container_name: sarplan-database-phpmyadmin
image: phpmyadmin
ports:
- 8080:80
environment:
- PMA_HOST=sarplan-database
depends_on:
- sarplan-database