|
|
|
|
|
services:
|
|
|
|
|
|
rhodecode:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
#DB_UPGRADE: 0 # 1 run the DB upgrade, 0 disable db upgrade at startup
|
|
|
#SETUP_APP: 0 # run the application default settings setup, can be turned off after initial run
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# # format is YYY:XXX, where YYY is /path/on/host and YYY is path on docker.
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
# - /home/my-user/rc-data:/var/opt/rhodecode_data
|
|
|
|
|
|
# ports:
|
|
|
# # expose port for optional direct port connection
|
|
|
# - "10020:10020"
|
|
|
|
|
|
# healthcheck:
|
|
|
# # disable the healthcheck for faster signal handling that instance is available
|
|
|
# # generally not recommended
|
|
|
# test: ['CMD','true']
|
|
|
|
|
|
labels:
|
|
|
- "traefik.enable=true"
|
|
|
# # Enable http+https endpoints to serve SSL, select just 1 to disable the other
|
|
|
# - "traefik.http.routers.rhodecode.entrypoints=http,https"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vcsserver:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# # format is YYY:XXX, where YYY is /path/on/host and YYY is path on docker.
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
# - /home/my-user/rc-data:/var/opt/rhodecode_data
|
|
|
# # mount your own source code
|
|
|
# - $PWD/rhodecode-enterprise-ce/:/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode
|
|
|
|
|
|
# healthcheck:
|
|
|
# # disable the healthcheck for faster signal handling that instance is available
|
|
|
# # generally not recommended
|
|
|
# test: ['CMD','true']
|
|
|
|
|
|
sshd:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
#SSH_BOOTSTRAP: 0 # 1 run the initials key init, 0 disable
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# # format is YYY:XXX, where YYY is /path/on/host and YYY is path on docker.
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
# - /home/my-user/rc-data:/var/opt/rhodecode_data
|
|
|
# # mount custom sshd_config for customization of ssh user etc
|
|
|
# - ./custom/ssh/sshd_config:/etc/rhodecode/sshd_config:ro
|
|
|
|
|
|
svn:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# # format is YYY:XXX, where YYY is /path/on/host and YYY is path on docker.
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
# - /home/my-user/rc-data:/var/opt/rhodecode_data
|
|
|
|
|
|
celery-beat:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# # format is YYY:XXX, where YYY is /path/on/host and YYY is path on docker.
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
# - /home/my-user/rc-data:/var/opt/rhodecode_data
|
|
|
|
|
|
celery:
|
|
|
|
|
|
deploy:
|
|
|
# set number of instances of services to be spawned on stack start
|
|
|
replicas: 1
|
|
|
|
|
|
environment:
|
|
|
RC_COMPOSE_OVERRIDE: 1
|
|
|
|
|
|
# volumes:
|
|
|
# # mount the host dir into repo storage path on container
|
|
|
# - /home/my-user/rc-repos:/var/opt/rhodecode_repo_store
|
|
|
|