Jafner.net/5etools-docker/docker-compose.yml

12 lines
463 B
YAML
Raw Normal View History

2021-07-05 01:15:08 -07:00
version: "3"
services:
5etools-docker:
container_name: 5etools-docker
2021-07-05 01:35:58 -07:00
image: joeyhafner/5etools-docker:latest
2021-07-05 01:15:08 -07:00
volumes:
- ${PWD}/htdocs:/usr/local/apache2/htdocs # this assumes your docker-compose.yml file is inside a "5etools-docker" directory.
2021-07-05 01:15:08 -07:00
environment:
2021-07-05 01:35:58 -07:00
- IMG=true
- PUID=${id -u} # this sets the user ID (uid) to that of the user running the command
- PGID=${id -g} # this sets the group ID (gid) to that of the user running the command