##// END OF EJS Templates
docker: added templates options to disable certain services
super-admin -
Show More
@@ -1,42 +1,45 b''
1 version: '3.9'
1 version: '3.9'
2
2
3 services:
3 services:
4
4
5 rhodecode:
5 rhodecode:
6 #ports:
6 #ports:
7 # # expose port for optional direct port connection
7 # # expose port for optional direct port connection
8 # - "10020:10020"
8 # - "10020:10020"
9 environment:
9 environment:
10 DB_UPGRADE: 0 # run the DB upgrade
10 DB_UPGRADE: 0 # run the DB upgrade
11 SETUP_APP: 0 # run the application default settings setup, can be turned off after initial run
11 SETUP_APP: 0 # run the application default settings setup, can be turned off after initial run
12
12
13 #healthcheck:
13 #healthcheck:
14 # # disable the healthcheck
14 # # disable the healthcheck
15 # test: ['CMD','true']
15 # test: ['CMD','true']
16
16
17 deploy:
17 deploy:
18 replicas: 1
18 replicas: 1
19
19
20 vcsserver:
20 vcsserver:
21
21
22 environment:
22 environment:
23 {}
23 {}
24
24
25 deploy:
25 deploy:
26 replicas: 1
26 replicas: 1
27
27
28 #healthcheck:
28 #healthcheck:
29 # # disable the healthcheck
29 # # disable the healthcheck
30 # test: ['CMD','true']
30 # test: ['CMD','true']
31
31
32 sshd:
32 sshd:
33 {}
33 deploy:
34 replicas: 1
34
35
35 svn:
36 svn:
36 {}
37 {}
37
38
38 celery-beat:
39 celery-beat:
39 {}
40 deploy:
41 replicas: 1
40
42
41 celery:
43 celery:
42 {}
44 deploy:
45 replicas: 1
@@ -1,24 +1,33 b''
1 version: '3.9'
1 version: '3.9'
2 ## This is a final override file for services stack
2 ## This is a final override file for services stack
3 ## Add your own customizations
3 ## Add your own customizations
4
4
5 ## docker network create -d overlay lb-net
5 ## docker network create -d overlay lb-net
6 services:
6 services:
7
7
8 database:
8 database:
9 {}
9 {}
10 # to disable usage of this service
11 #deploy:
12 # replicas: 0
10
13
11 database-mysql:
14 database-mysql:
12 {}
15 {}
16 # to disable usage of this service
17 #deploy:
18 # replicas: 0
13
19
14 redis:
20 redis:
15 {}
21 {}
22 # to disable usage of this service
23 #deploy:
24 # replicas: 0
16
25
17 elasticsearch:
26 elasticsearch:
18 {}
27 {}
19
28
20 nginx:
29 nginx:
21 {}
30 {}
22
31
23 channelstream:
32 channelstream:
24 {} No newline at end of file
33 {}
@@ -1,29 +1,27 b''
1 ## BUILD ARGS
1 ## BUILD ARGS
2 TZ="UTC"
2 TZ="UTC"
3
3
4 # Version to deploy and run
4 # Version to deploy and run
5 RC_VERSION="4.28.0"
5 RC_VERSION="4.28.0"
6
6
7 # ce, or ee
7 # ce, or ee
8 RC_EDITION=ee
8 RC_EDITION=ee
9 RC_IMAGE_CE="rhodecode/rhodecode-ce:$RC_VERSION"
10 RC_IMAGE_EE="rhodecode/rhodecode-ee:$RC_VERSION"
11
9
12 # GENERATED ARGS, Please don't change those
10 # GENERATED ARGS, Please don't change those
13
11
14 # Database bootstrap/access credentials
12 # Database bootstrap/access credentials
15 # Bootstrap container with specific password
13 # Bootstrap container with specific password
16 # This password will be used to generate new account and password for the database
14 # This password will be used to generate new account and password for the database
17 DB_NAME=rhodecode
15 DB_NAME=rhodecode
18 DB_USER=rhodecode
16 DB_USER=rhodecode
19 DB_PASSWORD=GENERATED_AT_BOOTSTRAP
17 DB_PASSWORD=GENERATED_AT_BOOTSTRAP
20
18
21 # user/password for first admin user created for access
19 # user/password for first admin user created for access
22 # this is a bootstrap super-admin account to access the web interface
20 # this is a bootstrap super-admin account to access the web interface
23 RHODECODE_USER_EMAIL=admin@server-com
21 RHODECODE_USER_EMAIL=admin@server-com
24 RHODECODE_USER_NAME=admin
22 RHODECODE_USER_NAME=admin
25 RHODECODE_USER_PASS=secret4
23 RHODECODE_USER_PASS=secret4
26
24
27 RC_USE_CELERY=true
25 RC_USE_CELERY=true
28
26
29 RC_APP_BASE_URL=base-url No newline at end of file
27 RC_APP_BASE_URL=base-url
General Comments 0
You need to be logged in to leave comments. Login now