-
Notifications
You must be signed in to change notification settings - Fork 43
/
docker-compose.yml
63 lines (57 loc) · 2.35 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
59
60
61
version: '3.7'
services:
reverse-proxy:
image: nginx:latest
restart: unless-stopped
container_name: reverse-proxy
volumes:
- ./PV/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./PV/nginx/certs:/etc/nginx/certs
##########################################
# uncomment if you need your company's CA root certificate (don't forget to change the certificate name)
# - ./PV/nginx/myCompany.crt:/usr/local/share/ca-certificates/myCompagny.crt
# - ./PV/nginx/update-ca-certificates.sh:/docker-entrypoint.d/1000-update-ca-certificates.sh
##########################################
ports:
- 443:443
depends_on:
- mercator
mercator:
image: ghcr.io/dbarzin/mercator:latest
restart: unless-stopped
container_name: mercator
volumes:
- ./PV/mercator/db.sqlite/:/var/www/mercator/sql/db.sqlite
- ./env/mercator.env:/var/www/mercator/.env
- ../app/Http/Kernel.php:/var/www/mercator/app/Http/Kernel.php
- ../app/Http/Middleware/ForceXForwardedProto.php:/var/www/mercator/app/Http/Middleware/ForceXForwardedProto.php
expose:
- 80
environment:
##########################################
# CONFIG set to your company's domain name
- APP_URL=https://mercator.mycompany.com/
- ASSET_URL=https://mercator.mycompany.com/
##########################################
##########################################
# uncomment if you want to load demo data
# - USE_DEMO_DATA=1
##########################################
# - Plusieurs types possibles : AD, OpenLDAP, FreeIPA, DirectoryServer
# - LDAP_TYPE="AD"
# - # If true, LDAP actions will be written to the application's default log file
# - LDAP_LOGGING=true
# - LDAP_CONNECTION=default
# - LDAP_HOST=127.0.0.1
# - # Identifiers of the user who will connect to the LDAP in order to perform queries
# - LDAP_USERNAME="cn=user,dc=local,dc=com"
# - LDAP_PASSWORD=secret
# - LDAP_PORT=389
# - LDAP_BASE_DN="dc=local,dc=com"
# - LDAP_TIMEOUT=5
# - LDAP_SSL=false
# - LDAP_TLS=false
# - # Allows you to restrict access to a tree structure
# - LDAP_SCOPE="ou=Accounting,ou=Groups,dc=planetexpress,dc=com"
# - # Allows you to restrict access to groups
# - LDAP_GROUPS="Delivering,Help Desk"