mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-12-29 18:28:28 +01:00
cleanup repo
This commit is contained in:
14
examples/youtrack/README.md
Normal file
14
examples/youtrack/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# References
|
||||
|
||||
- https://hub.docker.com/r/jetbrains/youtrack/
|
||||
|
||||
# Note
|
||||
|
||||
The JetBrains YouTrack container runs as specific user with a UID and GUID of `13001`.
|
||||
|
||||
Therefore, ensure proper permissions on the Docker data bind mount volumes:
|
||||
|
||||
````
|
||||
sudo chown -R 13001:13001 /mnt/docker-volumes/youtrack
|
||||
sudo chmod -R 777 /mnt/docker-volumes/youtrack
|
||||
````
|
||||
27
examples/youtrack/docker-compose.yml
Normal file
27
examples/youtrack/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: '3.5'
|
||||
|
||||
services:
|
||||
youtrack:
|
||||
image: jetbrains/youtrack:2022.3.65371
|
||||
container_name: youtrack
|
||||
hostname: youtrack
|
||||
user: 13001:13001 # this is the default UID:GUID; see https://hub.docker.com/r/jetbrains/youtrack/
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:8080 # web ui
|
||||
volumes:
|
||||
- /mnt/docker-volumes/youtrack/data:/opt/youtrack/data
|
||||
- /mnt/docker-volumes/youtrack/conf:/opt/youtrack/conf
|
||||
- /mnt/docker-volumes/youtrack/logs:/opt/youtrack/logs
|
||||
- /mnt/docker-volumes/youtrack/backups:/opt/youtrack/backups
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.youtrack.data == true
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.docker.network=proxy
|
||||
# - traefik.http.routers.youtrack.rule=Host(`projects.example.com`)
|
||||
# - traefik.http.services.youtrack.loadbalancer.server.port=8080
|
||||
# # Part for local lan services only; disable to expose externally
|
||||
# - traefik.http.routers.youtrack.middlewares=local-ipwhitelist@file
|
||||
Reference in New Issue
Block a user