Viyurz
6a4dd7cd2b
Some environment variables set in docker compose file (TIME_ZONE, ALLOWED_HOSTS) are used only if the etebase-server.ini file doesn't exist, which can be misleading. If we change these variables after the etebase-server.ini file has been generated, the settings won't be updated in the config file. Templating this file allows changing these settings after the first run.
14 lines
396 B
YAML
14 lines
396 B
YAML
services:
|
|
etebase:
|
|
image: victorrds/etebase:alpine
|
|
container_name: etebase
|
|
restart: always
|
|
user: {{ users['etebase'] }}:{{ users['etebase'] }}
|
|
environment:
|
|
SERVER: http
|
|
AUTO_UPDATE: 'true'
|
|
ports:
|
|
- 127.0.0.1:{{ ports['etebase'] }}:3735
|
|
volumes:
|
|
- {{ volumes['etebase_datadir'] }}:/data
|
|
- ./etebase-server.ini:/data/etebase-server.ini
|