このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 03 Zed editor 設定 [Windowsでビルド]
- 09 ↷ 50_dialy:2025:09:09 から 50_dialy:2025:09:08 へページを名称変更しました。
- 06 ↷ 50_dialy:2025:06 から 50_dialy:2025:09:06 へページを移動しました。
最近の更新
文書の過去の版を表示しています。
これだけで、dokuwiki起動できます。
user: hoge, password: hogehogepassword でログインできます。
---
version: '2'
services:
dokuwiki:
image: docker.io/bitnami/dokuwiki:latest
user: root
ports:
- '80:8080'
- '443:8443'
volumes:
- ./data:/bitnami
environment:
- DOKUWIKI_USERNAME=hoge
- DOKUWIKI_PASSWORD=hogehogepassword
volumes:
dokuwiki_data:
driver: local
docker-compose up -d
これで、https://testwiki.hogehoge.com でアクセスでるようになります。
---
version: '2'
services:
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
links:
- dokuwiki
#restart: always
restart: unless-stopped
environment:
DOMAINS: 'testwiki.hogehoge.com -> http://dokuwiki:8080'
STAGE: 'local'
#STAGE: 'production'
#FORCE_RENEW: 'true'
dokuwiki:
image: docker.io/bitnami/dokuwiki:latest
user: root
#ports:
# - '80:8080'
# - '443:8443'
volumes:
- ./data:/bitnami
environment:
- DOKUWIKI_USERNAME=hoge
- DOKUWIKI_PASSWORD=hogehogepassword
volumes:
dokuwiki_data:
driver: local
defaultではdaemonユーザになってます。
Apacheの実行ユーザをviで編集してrootに変更するとApache起動できなくなります。
dokuwiki 22:19:00.44 INFO ==> ** Starting Apache ** AH00526: Syntax error on line 172 of /opt/bitnami/apache/conf/httpd.conf: Error:\tApache has not been designed to serve pages while\n\trunning as root. There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n