Files
dokuwiki-docker/docker-compose.yml
Andreas Gohr 5b861a073c add more info on user ID handling
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.
2024-08-19 09:04:32 +02:00

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