mirror of
https://github.com/dokuwiki/docker.git
synced 2025-07-23 02:54:48 +00:00

The entrypoint will now print the UID and GID the container was started at. This should help debugging issues like #8 and #13 Some comments were added to the compose file as well.
17 lines
569 B
YAML
17 lines
569 B
YAML
# This is an example of a docker-compose file for DokuWiki. Familiarity with Docker and docker-compose is assumed.
|
|
# Adjust this to your needs before using.
|
|
|
|
services:
|
|
dokuwiki:
|
|
image: dokuwiki/dokuwiki:stable # other tags: master, <date> or <codename>
|
|
user: "1000:1000" # adjust to your required user id
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080" # internal port is 8080, map to what you need
|
|
environment:
|
|
PHP_TIMEZONE: Europe/Berlin
|
|
#PHP_MEMORYLIMIT: 256M
|
|
#PHP_UPLOADLIMIT: 128M
|
|
volumes:
|
|
- ./storage:/storage
|