Skip to content

Commit

Permalink
chore: add scratch-map
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd committed Nov 22, 2024
1 parent 4f9d6e2 commit 42e53f6
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ Software that does not fit in another section.

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

## 🌟 Star History
[![Star History Chart](https://api.star-history.com/svg?repos=Haxxnet/Compose-Examples&type=Date)](https://star-history.com/#Haxxnet/Compose-Examples&Date)
Expand Down
11 changes: 11 additions & 0 deletions examples/scratch-map/README.md
Original file line number Diff line number Diff line change
@@ -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 changes: 28 additions & 0 deletions examples/scratch-map/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 42e53f6

Please sign in to comment.