mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
chore: add scratch-map
This commit is contained in:
11
examples/scratch-map/README.md
Normal file
11
examples/scratch-map/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# References
|
||||
|
||||
- https://github.com/ad3m3r5/scratch-map
|
||||
|
||||
# Notes
|
||||
|
||||
May require you to fix permissions of the bind mount volume:
|
||||
|
||||
````
|
||||
sudo chown -R 1000:1000 ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/scratch-map
|
||||
````
|
||||
28
examples/scratch-map/docker-compose.yml
Normal file
28
examples/scratch-map/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
|
||||
scratchmap:
|
||||
image: ad3m3r5/scratch-map:latest
|
||||
container_name: scratch-map
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:8080/tcp # http ui
|
||||
expose:
|
||||
- 8080/tcp
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/scratch-map:/data
|
||||
environment:
|
||||
- DBLOCATION=/data
|
||||
- PORT=8080
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.docker.network=proxy
|
||||
# - traefik.http.routers.scratchmap.rule=Host(`earth.example.com`)
|
||||
# - traefik.http.services.scratchmap.loadbalancer.server.port=8080
|
||||
# # Optional part for traefik middlewares
|
||||
# - traefik.http.routers.scratchmap.middlewares=local-ipwhitelist@file
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
Reference in New Issue
Block a user