-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
78 lines (64 loc) · 2.72 KB
/
.env
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
TAG_VERSION=0.0.5
### Choose CONTAINER_CLI and COMPOSE
CONTAINER_CLI=docker
COMPOSE=docker-compose
# CONTAINER_CLI=nerdctl
# COMPOSE="nerdctl compose"
### Owner and group of httpd sub-processes
## Cf. https://github.com/KazKobara/dockerfile_fswiki_local
## for httpd 2.5.52 or newer:
OWNER_GROUP=www-data:www-data
## for httpd 2.4.46 or older:
# OWNER_GROUP=daemon:daemon
### Choose FSWIKI_VERSION to use
# FSWIKI_VERSION=3_6_5
# FSWIKI_VERSION=latest
FSWIKI_VERSION=latest
### Edit FSWIKI_DATA_ROOT #####
## Set FSWIKI_DATA_ROOT to the folder that includes FSWiki's
## data/, attach/, config/, and log/.
##
## Folders to be backed up is explained in Japanese at:
## https://fswiki.osdn.jp/cgi-bin/wiki.cgi/docs?page=readme#p6
##
## NOTE:
## - 'Docker for Windows'
## - does not accept POSIX symbolic link even on WSL/WSL2 (while linux Docker on WSL2 does),
## - accepts 'c:/Users' but not '/mnt/c/Users' (while linux Docker on WSL2 acts opposite).
## - ignores "$(pwd)"
## - Nested variables do not work in .env file.
## - See also https://github.com/KazKobara/tips-jp/blob/gh-pages/docker/bind-mount-wsl.md (in Japanese).
## For shell script versions (to refer to an Win folder from WSL), and docker-compose.exe
## - Absolute path shall be specified but "$(pwd)" is not compatible with 'Docker for Windows'.
# FSWIKI_DATA_ROOT=c:/Users/kaz/git/dockerfile_fswiki_local_private/tmp/wikilatest
# FSWIKI_DATA_ROOT=c:/Users/kaz/share/wikilocal
## For shell versions (not to refer to Win drive) and compose versions
## - Nested variables do not work.
## - Adding "" does not work (at least for 'Docker for Windows').
## - Relative path is available.
FSWIKI_DATA_ROOT=./tmp/wikilatest
# FSWIKI_DATA_ROOT=./tmp/wiki3_6_5
# FSWIKI_DATA_ROOT=../../wikilocal
### Choose FSWIKI_PLATFORM and edit FSWIKI_VERSION.
# FSWIKI_PLATFORM=ubuntu
# FSWIKI_PLATFORM=alpine
FSWIKI_PLATFORM=alpine
### Temporary directory where downloaded FSWikis and their related data are placed.
### ./get_fswiki.sh assumes that the directory depth of FSWIKI_TMP_DIR is one layer.
FSWIKI_TMP_DIR=tmp
### Restrict access from only localhost
# FSWIKI_PORT=127.0.0.1:8365
FSWIKI_PORT=127.0.0.1:8366
## The following allow access from other docker containers by setting
## the destination IP address to any assigned to the host OS.
## Access from outside of the host needs to change the firewall
## settings too.
# FSWIKI_PORT=8366
## If you want to try new theme
# FSWIKI_THEME=default
FSWIKI_THEME=kati_dark
## For multiple/additional services using
## `docker-compose.exe -f docker-compose-multiple.yml` or `run_fswiki_private.sh`
# FSWIKI_DATA_ROOT_PRIVATE=/home/kaz/wiki_private
FSWIKI_DATA_ROOT_PRIVATE=c:/Users/kaz/private/wiki_private
FSWIKI_PORT_PRIVATE=127.0.0.1:9366