forked from redimp/otterwiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml.skeleton
54 lines (52 loc) · 1.52 KB
/
docker-compose.override.yml.skeleton
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
---
#
# This docker-compose.yml is for building and running the development
# version of An Otter Wiki.
#
# Please read the Installation guide <https://otterwiki.com/Installation>
# to get started.
#
version: '3'
services:
web:
build: .
restart: unless-stopped
ports:
# forward the http port to 8080
- "8080:80"
volumes:
# mount the local app-data volume in the container
# (so settings, database and repository are persistent)
- app-data:/app-data
environment:
#
# Please note: These settings can be OVERWRITTEN in the admin interface
#
# configure Name and Logo of the Wiki
- SITE_NAME=Otter Wiki Dev
- SITE_DESCRIPTION=Otter Wiki Development
# Permissions allow everything (for development)
- READ_ACCESS=ANONYMOUS
- WRITE_ACCESS=ANONYMOUS
- ATTACHMENT_ACCESS=ANONYMOUS
- AUTO_APPROVAL=True
- NOTIFY_ADMINS_ON_REGISTER=False
- EMAIL_NEEDS_CONFIRMATION=False
# Mail configuration
- MAIL_DEFAULT_SENDER=otterwiki@mailserver-dummy
- MAIL_SERVER=python-smtp-debuggingserver
- MAIL_PORT=1025
- MAIL_USE_TLS=False
- MAIL_USE_SSL=False
links:
- python-smtp-debuggingserver:python-smtp-debuggingserver
python-smtp-debuggingserver:
image: python:3.10-alpine
environment:
- PYTHONWARNINGS=ignore::DeprecationWarning
command: >
python -u -m smtpd -n -c DebuggingServer 0.0.0.0:1025
volumes:
app-data:
driver: local
# vim:set et ts=8 sts=2 sw=2 ai fenc=utf-8: