-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
50 lines (44 loc) · 1.64 KB
/
docker-compose.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: "3.7"
services:
# main: # IDE runs in this container
# working_dir: /workspace
# build:
# context: .
# dockerfile: Dockerfile
# volumes:
# # Update this to wherever you want VS Code to mount the folder for your project
# - .:/workspace
# # Overrides default command so things don't shut down after the process ends.
# command: /bin/sh -c "while sleep 1000; do :; done"
artifactory:
image: ${DOCKER_REGISTRY}/jfrog/artifactory-pro:${ARTIFACTORY_VERSION}
container_name: artifactory
environment:
- HL_CLIENT_ID=${HL_CLIENT_ID}
- HL_CLIENT_SECRET=${HL_CLIENT_SECRET}
- HL_API_URL=${HL_API_URL}
- JF_ROUTER_ENTRYPOINTS_EXTERNALPORT=${JF_ROUTER_ENTRYPOINTS_EXTERNALPORT}
- JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
ports:
- 8081:8081 # /artifactory API
- ${JF_ROUTER_ENTRYPOINTS_EXTERNALPORT}:${JF_ROUTER_ENTRYPOINTS_EXTERNALPORT} # UI
- 5005:5005 # Debug port
volumes:
- ./core/src:/opt/jfrog/artifactory/var/etc/artifactory/plugins
- artifactory:/var/opt/jfrog/artifactory
- ./config/artifactory.system.properties:/opt/jfrog/artifactory/var/etc/artifactory/artifactory.system.properties
- ./config/access.config.patch.yml:/opt/jfrog/artifactory/var/etc/access/access.config.patch.yml
- ./config/logback.xml:/opt/jfrog/artifactory/var/etc/artifactory/logback.xml
- /etc/localtime:/etc/localtime:ro
networks:
- default
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
volumes:
artifactory:
networks:
default:
name: custom_network