mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-04-01 06:55:37 +02:00
73 lines
2.2 KiB
Markdown
73 lines
2.2 KiB
Markdown
---
|
||
name: Compose request
|
||
about: Request a currently missing FOSS compose example
|
||
title: ''
|
||
labels: ''
|
||
assignees: ''
|
||
|
||
---
|
||
|
||
> [!WARNING]
|
||
> Please do not open issues or pull requests if the maintainer already provides a well-documented Docker Compose example. Instead, we may add a reference to the maintainer’s repository, but we will not duplicate or track it here.
|
||
|
||
> [!CAUTION]
|
||
> Please do not open issues or pull requests for newly created or unverified projects. This repository does not include untrusted or unknown Compose examples. Projects must first gain community trust, undergo public review, and demonstrate adoption (e.g., stars, usage) before being considered.
|
||
|
||
**What FOSS project is currently missing. Provide names and links.**
|
||
|
||
* NAME:
|
||
* GitHub URL:
|
||
|
||
**Does an example docker-compose.yml exist?**
|
||
|
||
* [0] - Yes, managed by the FOSS maintainer. See links below.
|
||
* [1] - Yes, I have a personal working compose file. See code below.
|
||
* [2] - No, I have not found any and want to request one.
|
||
|
||
Here some links to pre-existing docker-compose examples:
|
||
- <link1>
|
||
- <link2>
|
||
|
||
Here my personal working docker-compose.yml:
|
||
|
||
````
|
||
services:
|
||
|
||
example:
|
||
image: user/image:tag
|
||
container_name: example
|
||
hostname: example
|
||
#user: 1000:1000
|
||
restart: unless-stopped
|
||
ports:
|
||
- 8080:8080/tcp
|
||
volumes:
|
||
#- /etc/localtime:/etc/localtime:ro
|
||
#- /etc/timezone:/etc/timezone:ro
|
||
#- /var/run/docker.sock:/var/run/docker.sock:ro
|
||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/example:/opt/example/data
|
||
environment:
|
||
- PUID=1000
|
||
- PGID=1000
|
||
- TZ=Europe/Berlin
|
||
#networks:
|
||
# - proxy
|
||
#labels:
|
||
# - traefik.enable=true
|
||
# - traefik.docker.network=proxy
|
||
# - traefik.http.routers.CHANGEME.rule=Host(`service.example.com`)
|
||
# - traefik.http.services.CHANGEME.loadbalancer.server.port=8080
|
||
# # Part for optional traefik middlewares
|
||
# - traefik.http.routers.CHANGEME.middlewares=local-ipwhitelist@file
|
||
|
||
#networks:
|
||
# proxy:
|
||
# external: true
|
||
````
|
||
|
||
**Describe alternatives you've considered**
|
||
A clear and concise description of any alternative solutions or features you've considered.
|
||
|
||
**Additional context**
|
||
Add any other context or screenshots about the feature request here.
|