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:
|
2021-09-09 14:47:55 -07:00
|
|
|
- ${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
|
2021-09-09 14:47:55 -07:00
|
|
|
- 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
|