1+ # Windows Docker Compose environment file for Defacto2 development
2+ # Any changes to this file require a rebuild (see docker-compose.yml).
3+ #
4+ # On POSIX this .env file MUST be set to the
5+ # 400 (read,none,none) access permission mode.
6+ #
7+ # How to declare default environment variables in this file:
8+ # https://docs.docker.com/compose/env-file/
9+ # https://docs.docker.com/compose/reference/envvars/
10+ # https://docs.docker.com/compose/extends/
11+
12+ # Docker containers base name, ie. d2 = d2-app, d2-db, d2-web
13+ BASE_NAME = d2020
14+
15+ # Restart on
16+ # no (never)
17+ # always (on reboot)
18+ # on-failure (on error)
19+ # unless-stopped (always unless stopped)
20+ RESTART = always
21+
22+ # Public facing, non-standard ports.
23+ PORT_ADMINER = 8558
24+
25+ # Insecure passwords
26+ # PW_MYSQL must match the same password as .config/defacto2-inno
27+ PW_MYSQL = password
28+
29+ # Directory paths.
30+ #
31+ # Use a dot value `.` for the local path to the docker-compose.yml file.
32+ # Linux example: /home/ben/defacto2-2020
33+ # macOS example: /Users/ben/defacto2-2020
34+ # Windows example: C:\github\defacto2-2020
35+
36+ # Working directory is a clone of the Defacto2 web application GitHub repository.
37+ WD = .
38+
39+ # Declare the absolute directory path to the file assets used by Defacto2.
40+ # Assets include thumbnails, file downloads and image previews.
41+ AD = /opt/assets-defacto2
42+
43+ # DOSee emulator directory.
44+ DD = /opt/dosee/build
45+
46+ # Source locations for CfWheels and nginx.
47+ CFWHEELS = ./.config/defacto2.json
48+ LOCATIONS = ./docker_assets/nginx/locations.conf
49+ REWRITE = ./docker_assets/nginx/rewrite.conf
0 commit comments