forked from darneta/rhodecode-ce-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
31 lines (29 loc) · 1004 Bytes
/
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
version: '2.4'
services:
rhodecode:
container_name: ${RHODECODE_CONTAINER_NAME:-rhodecode}
image: outlyernet/rhodecode-ce:${RHODECODE_CONTAINER_LABEL:-latest}
platform: linux # AMD64 RhodeCode by default. IA-32 can be enabled by tweaking the Dockerfile
build:
context: .
dockerfile: Dockerfile
expose:
- 8080
- 3690
ports:
- "8080:8080"
# No point in publishing svnserve's port since svn disabled
#- "3690:3690"
volumes:
- rhodecode_repos:/repos
- rhodecode_data:/rhodecode
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
#tmpfs: # TODO: This doesn't work, /run gets mounted but ends up empty
# - /run
# Persist all important data
volumes:
rhodecode_repos: # Repositories are stored here
name: "${RHODECODE_CONTAINER_NAME:-rhodecode}_repos"
rhodecode_data: # RhodeCode's configuration is stored here
name: "${RHODECODE_CONTAINER_NAME:-rhodecode}_data"