Skip to content

Commit 42e53f6

Browse files
committed
chore: add scratch-map
1 parent 4f9d6e2 commit 42e53f6

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ Software that does not fit in another section.
451451

452452
- [Network-Multitool](examples/network-multitool) - Multi-arch multitool for container network troubleshooting.
453453
- [IT-Tools](examples/it-tools) - Collection of handy online tools for developers, with great UX.
454+
- [Scratch-Map](examples/scratch-map) - An open-source scratch-off style map to track your travels.
454455

455456
## 🌟 Star History
456457
[![Star History Chart](https://api.star-history.com/svg?repos=Haxxnet/Compose-Examples&type=Date)](https://star-history.com/#Haxxnet/Compose-Examples&Date)

examples/scratch-map/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# References
2+
3+
- https://github.com/ad3m3r5/scratch-map
4+
5+
# Notes
6+
7+
May require you to fix permissions of the bind mount volume:
8+
9+
````
10+
sudo chown -R 1000:1000 ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/scratch-map
11+
````
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
services:
2+
3+
scratchmap:
4+
image: ad3m3r5/scratch-map:latest
5+
container_name: scratch-map
6+
restart: unless-stopped
7+
ports:
8+
- 8080:8080/tcp # http ui
9+
expose:
10+
- 8080/tcp
11+
volumes:
12+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/scratch-map:/data
13+
environment:
14+
- DBLOCATION=/data
15+
- PORT=8080
16+
#networks:
17+
# - proxy
18+
#labels:
19+
# - traefik.enable=true
20+
# - traefik.docker.network=proxy
21+
# - traefik.http.routers.scratchmap.rule=Host(`earth.example.com`)
22+
# - traefik.http.services.scratchmap.loadbalancer.server.port=8080
23+
# # Optional part for traefik middlewares
24+
# - traefik.http.routers.scratchmap.middlewares=local-ipwhitelist@file
25+
26+
#networks:
27+
# proxy:
28+
# external: true

0 commit comments

Comments
 (0)