2023-02-19 05:46:42 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-02-19 05:46:42 +00:00
|
|
|
youtrack:
|
2023-03-17 00:26:27 +00:00
|
|
|
image: jetbrains/youtrack:2022.3.65373
|
2023-02-19 05:46:42 +00:00
|
|
|
container_name: youtrack
|
|
|
|
hostname: youtrack
|
2023-02-19 05:59:24 +00:00
|
|
|
user: 13001:13001 # this is the default UID:GUID; see https://hub.docker.com/r/jetbrains/youtrack/
|
2023-02-19 05:46:42 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8080:8080 # web ui
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 8080
|
2023-02-19 05:46:42 +00:00
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/data:/opt/youtrack/data
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/conf:/opt/youtrack/conf
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/logs:/opt/youtrack/logs
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/youtrack/backups:/opt/youtrack/backups
|
2023-02-19 05:46:42 +00:00
|
|
|
deploy:
|
|
|
|
placement:
|
|
|
|
constraints:
|
|
|
|
- node.labels.youtrack.data == true
|
2024-11-04 12:08:51 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
2023-03-16 20:26:34 +00:00
|
|
|
#labels:
|
2023-02-19 05:46:42 +00:00
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# - traefik.http.routers.youtrack.rule=Host(`projects.example.com`)
|
|
|
|
# - traefik.http.services.youtrack.loadbalancer.server.port=8080
|
2023-02-19 05:54:32 +00:00
|
|
|
# # Part for local lan services only; disable to expose externally
|
|
|
|
# - traefik.http.routers.youtrack.middlewares=local-ipwhitelist@file
|
2023-02-26 02:58:44 +00:00
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|