forked from docplanner-workshop/clean-code-architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 847 Bytes
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
version: '3.8'
services:
app:
container_name: dp-workshop-app
image: webdevops/php-nginx-dev:7.4
volumes:
- "./:/app:cached"
- "./var/:/app/var:delegated"
- "./vendor/:/app/vendor:delegated"
working_dir: /app
env_file:
- .env
depends_on:
- mysql
expose:
- "80"
ports:
- "9090:80"
environment:
WEB_DOCUMENT_ROOT: "/app/public"
networks:
internal: ~
links:
- mysql
mysql:
container_name: dp-workshop-mysql
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_DATABASE: doctor_calendar
MYSQL_USER: dp
MYSQL_PASSWORD: docplanner<3
MYSQL_ROOT_PASSWORD: docplanner<3
networks:
internal: ~
networks:
internal:
external: false