-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
58 lines (53 loc) · 1.14 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
version: "3.4"
services:
app:
build: .
restart: always
environment:
- VIRTUAL_HOST=localhost
- HSTS=off
- APP_TRUSTED_PROXIES=*
- LARAVEL_CLOUDFLARE_ENABLED=false
- APP_URL=https://localhost:443
- ASSET_URL=https://localhost:443
- FORCE_ROOT_URL=true
volumes:
- webauthn_data:/var/www/html/database
networks:
- proxy-tier
- default
proxy:
build: ./scripts/proxy
restart: always
ports:
- 443:443
volumes:
- webauthn_certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
environment:
- HSTS=off
networks:
- proxy-tier
depends_on:
- omgwtfssl
omgwtfssl:
image: paulczar/omgwtfssl
restart: "no"
volumes:
- webauthn_certs:/certs
environment:
- SSL_SUBJECT=localhost
- SSL_KEY=/certs/localhost.key
- SSL_CSR=/certs/localhost.csr
- SSL_CERT=/certs/localhost.crt
- HSTS=off
networks:
- proxy-tier
volumes:
webauthn_data:
name: webauthn_data
webauthn_certs:
name: webauthn_certs
networks:
proxy-tier: