mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-23 20:11:12 +00:00
Compare commits
3 Commits
4f9d6e2b05
...
ec7dcbd679
Author | SHA1 | Date | |
---|---|---|---|
|
ec7dcbd679 | ||
|
e25395ca48 | ||
|
42e53f6e5e |
|
@ -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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
services:
|
||||
|
||||
leantime_db:
|
||||
image: mysql:8.0
|
||||
image: mysql:8.4
|
||||
container_name: leantime-mysql
|
||||
expose:
|
||||
- 3306
|
||||
|
@ -11,7 +11,7 @@ services:
|
|||
env_file: ./.env
|
||||
command: --character-set-server=UTF8MB4 --collation-server=UTF8MB4_unicode_ci
|
||||
#networks:
|
||||
# - proxy
|
||||
# - internal
|
||||
|
||||
leantime:
|
||||
image: leantime/leantime:latest
|
||||
|
@ -21,26 +21,31 @@ services:
|
|||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/public_data:/var/www/html/public/userfiles
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/data:/var/www/html/userfiles
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/leantime/plugins:/var/www/html/app/Plugins
|
||||
ports:
|
||||
- "8080:80" # The port to expose and access Leantime
|
||||
expose:
|
||||
- 80
|
||||
depends_on:
|
||||
- leantime_db # Don't start Leantime unless leantime_db is running
|
||||
- leantime_db
|
||||
#networks:
|
||||
# - proxy
|
||||
# - internal
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.docker.network=proxy
|
||||
# - traefik.http.routers.leantime.rule=Host(`leantime.example.com`)
|
||||
# - traefik.http.services.leantime.loadbalancer.server.port=80
|
||||
# # Optional part for file upload max sizes
|
||||
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
||||
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
||||
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
||||
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
|
||||
# - traefik.docker.network=proxy
|
||||
# # Part for optional traefik middlewares
|
||||
# - traefik.http.routers.leantime.middlewares=local-ipwhitelist@file,authelia@file,basic-auth@file
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
# internal:
|
||||
# internal: true
|
||||
|
|
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
|
Loading…
Reference in New Issue
Block a user