-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (41 loc) · 1.02 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (41 loc) · 1.02 KB
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
version: '3.2'
services:
web:
build:
context: ./
dockerfile: frontend/Dockerfile
container_name: web
ports:
- "80:80"
environment:
- NGINX_HOST=foobar.com
- NGINX_PORT=80
- API_URL=http://localhost:8000/api
api:
build:
context: ./
dockerfile: backend/Dockerfile
container_name: api
environment:
- APP_NAME=FDesk
- APP_ENV=local
- APP_KEY=base64:CPDFIOVtkMTW4s9kLQYVrNNCbA7U0HtTcYb/I84eKjU=
- APP_DEBUG=true
- APP_URL=http://localhost
- LOG_CHANNEL=stack
- DB_CONNECTION=sqlite
- DB_FOREIGN_KEYS=true
- MAIL_MAILER=smtp
- MAIL_HOST=smtp.mailtrap.io
- MAIL_PORT=2525
- MAIL_USERNAME=null
- MAIL_PASSWORD=null
- MAIL_ENCRYPTION=null
- MAIL_FROM_ADDRESS=null
- MAIL_FROM_NAME="${APP_NAME}"
- OPCACHE_REVALIDATE_FREQ=0
- OPCACHE_VALIDATE_TIMESTAMPS=On
- ACCESS_CONTROL_ALLOW_ORIGIN="http://localhost"
ports:
- "8000:80"
restart: always