forked from Haxxnet/Compose-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (32 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
services:
youtrack:
image: jetbrains/youtrack:2022.3.65373
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
expose:
- 8080
volumes:
- ${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
deploy:
placement:
constraints:
- node.labels.youtrack.data == true
#networks:
# - proxy
#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
#networks:
# proxy:
# external: true