Show More
@@ -147,7 +147,6 b' services:' | |||||
147 |
|
147 | |||
148 | volumes: |
|
148 | volumes: | |
149 | - confvolume:/etc/rhodecode/conf |
|
149 | - confvolume:/etc/rhodecode/conf | |
150 |
|
||||
151 | - rc_reposvolume:/var/opt/rhodecode_repo_store |
|
150 | - rc_reposvolume:/var/opt/rhodecode_repo_store | |
152 | - rc_datavolume:/var/opt/rhodecode_data |
|
151 | - rc_datavolume:/var/opt/rhodecode_data | |
153 |
|
152 | |||
@@ -172,9 +171,8 b' services:' | |||||
172 | command: [ |
|
171 | command: [ | |
173 | "/usr/local/bin/rhodecode_bin/bin/celery", |
|
172 | "/usr/local/bin/rhodecode_bin/bin/celery", | |
174 | "worker", |
|
173 | "worker", | |
175 |
|
||||
176 | "--task-events", |
|
|||
177 | "--autoscale=20,2", |
|
174 | "--autoscale=20,2", | |
|
175 | "--task-events", | |||
178 | "--no-color", |
|
176 | "--no-color", | |
179 | "--app=rhodecode.lib.celerylib.loader", |
|
177 | "--app=rhodecode.lib.celerylib.loader", | |
180 | "--loglevel=DEBUG", |
|
178 | "--loglevel=DEBUG", |
@@ -13,14 +13,18 b' services:' | |||||
13 | #DB_UPGRADE: 0 # 1 run the DB upgrade, 0 disable db upgrade at startup |
|
13 | #DB_UPGRADE: 0 # 1 run the DB upgrade, 0 disable db upgrade at startup | |
14 | #SETUP_APP: 0 # run the application default settings setup, can be turned off after initial run |
|
14 | #SETUP_APP: 0 # run the application default settings setup, can be turned off after initial run | |
15 |
|
15 | |||
16 | #ports: |
|
16 | # volumes: | |
17 | # # expose port for optional direct port connection |
|
17 | # # mount the host dir into repo storage path on container | |
18 | # - "10020:10020" |
|
18 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store | |
19 |
|
19 | |||
20 | #healthcheck: |
|
20 | # ports: | |
21 | # # disable the healthcheck for faster signal handling that instance is available |
|
21 | # # expose port for optional direct port connection | |
22 | # # generally not recommended |
|
22 | # - "10020:10020" | |
23 | # test: ['CMD','true'] |
|
23 | ||
|
24 | # healthcheck: | |||
|
25 | # # disable the healthcheck for faster signal handling that instance is available | |||
|
26 | # # generally not recommended | |||
|
27 | # test: ['CMD','true'] | |||
24 |
|
28 | |||
25 | labels: |
|
29 | labels: | |
26 | - "traefik.enable=true" |
|
30 | - "traefik.enable=true" | |
@@ -39,10 +43,14 b' services:' | |||||
39 | environment: |
|
43 | environment: | |
40 | RC_COMPOSE_OVERRIDE: 1 |
|
44 | RC_COMPOSE_OVERRIDE: 1 | |
41 |
|
45 | |||
42 | #healthcheck: |
|
46 | # volumes: | |
43 | # # disable the healthcheck for faster signal handling that instance is available |
|
47 | # # mount the host dir into repo storage path on container | |
44 | # # generally not recommended |
|
48 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store | |
45 | # test: ['CMD','true'] |
|
49 | ||
|
50 | # healthcheck: | |||
|
51 | # # disable the healthcheck for faster signal handling that instance is available | |||
|
52 | # # generally not recommended | |||
|
53 | # test: ['CMD','true'] | |||
46 |
|
54 | |||
47 | sshd: |
|
55 | sshd: | |
48 |
|
56 | |||
@@ -52,12 +60,13 b' services:' | |||||
52 |
|
60 | |||
53 | environment: |
|
61 | environment: | |
54 | RC_COMPOSE_OVERRIDE: 1 |
|
62 | RC_COMPOSE_OVERRIDE: 1 | |
55 |
|
||||
56 | #SSH_BOOTSTRAP: 0 # 1 run the initials key init, 0 disable |
|
63 | #SSH_BOOTSTRAP: 0 # 1 run the initials key init, 0 disable | |
57 |
|
64 | |||
58 |
|
|
65 | # volumes: | |
59 | # # mount custom sshd_config for customization of ssh user etc |
|
66 | # # mount the host dir into repo storage path on container | |
60 | # - ./custom/ssh/sshd_config:/etc/rhodecode/sshd_config:ro |
|
67 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store | |
|
68 | # # mount custom sshd_config for customization of ssh user etc | |||
|
69 | # - ./custom/ssh/sshd_config:/etc/rhodecode/sshd_config:ro | |||
61 |
|
70 | |||
62 | svn: |
|
71 | svn: | |
63 |
|
72 | |||
@@ -68,6 +77,10 b' services:' | |||||
68 | environment: |
|
77 | environment: | |
69 | RC_COMPOSE_OVERRIDE: 1 |
|
78 | RC_COMPOSE_OVERRIDE: 1 | |
70 |
|
79 | |||
|
80 | # volumes: | |||
|
81 | # # mount the host dir into repo storage path on container | |||
|
82 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store | |||
|
83 | ||||
71 | celery-beat: |
|
84 | celery-beat: | |
72 |
|
85 | |||
73 | deploy: |
|
86 | deploy: | |
@@ -77,6 +90,10 b' services:' | |||||
77 | environment: |
|
90 | environment: | |
78 | RC_COMPOSE_OVERRIDE: 1 |
|
91 | RC_COMPOSE_OVERRIDE: 1 | |
79 |
|
92 | |||
|
93 | # volumes: | |||
|
94 | # # mount the host dir into repo storage path on container | |||
|
95 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store | |||
|
96 | ||||
80 | celery: |
|
97 | celery: | |
81 |
|
98 | |||
82 | deploy: |
|
99 | deploy: | |
@@ -85,3 +102,7 b' services:' | |||||
85 |
|
102 | |||
86 | environment: |
|
103 | environment: | |
87 | RC_COMPOSE_OVERRIDE: 1 |
|
104 | RC_COMPOSE_OVERRIDE: 1 | |
|
105 | ||||
|
106 | # volumes: | |||
|
107 | # # mount the host dir into repo storage path on container | |||
|
108 | # - $PWD/rc-repos-host:/var/opt/rhodecode_repo_store No newline at end of file |
@@ -9,11 +9,12 b' services:' | |||||
9 | # # uncomment to expose dashboard at port :7000, |
|
9 | # # uncomment to expose dashboard at port :7000, | |
10 | # # this is mostly for debugging routes and services |
|
10 | # # this is mostly for debugging routes and services | |
11 | # - "7000:7000" |
|
11 | # - "7000:7000" | |
|
12 | ||||
12 | volumes: |
|
13 | volumes: | |
13 |
# |
|
14 | # Bind to docker.sock that Traefik can listen to the Docker events | |
14 | - /var/run/docker.sock:/var/run/docker.sock |
|
15 | - /var/run/docker.sock:/var/run/docker.sock | |
15 |
|
16 | |||
16 | # # custom traefik config, enable SSL etc.. |
|
17 | # # custom traefik config, enable SSL etc... | |
17 | # # put your traefik setup in this directory structure, and uncomment to override |
|
18 | # # put your traefik setup in this directory structure, and uncomment to override | |
18 | # # default traefik static/dynamic configs |
|
19 | # # default traefik static/dynamic configs | |
19 | # - $PWD/.custom/traefik_custom:/etc/traefik:ro |
|
20 | # - $PWD/.custom/traefik_custom:/etc/traefik:ro | |
@@ -22,5 +23,8 b' services:' | |||||
22 | # # Mount ACME shared json config for lets-encrypt |
|
23 | # # Mount ACME shared json config for lets-encrypt | |
23 | # - $PWD/.custom/traefik_custom/acme:/acme |
|
24 | # - $PWD/.custom/traefik_custom/acme:/acme | |
24 |
|
25 | |||
|
26 | environment: | |||
|
27 | RC_COMPOSE_OVERRIDE: 1 | |||
|
28 | ||||
25 | # labels: |
|
29 | # labels: | |
26 | # - "traefik.enable=true" No newline at end of file |
|
30 | # - "traefik.enable=true" |
@@ -10,6 +10,10 b' services:' | |||||
10 | # to disable usage of this service using your own postgres instance set replicas to 0 |
|
10 | # to disable usage of this service using your own postgres instance set replicas to 0 | |
11 | replicas: 1 |
|
11 | replicas: 1 | |
12 |
|
12 | |||
|
13 | # ports: | |||
|
14 | # # expose running db to host under 5432 port | |||
|
15 | # - "127.0.0.1::5432" | |||
|
16 | ||||
13 | database-mysql: |
|
17 | database-mysql: | |
14 | deploy: |
|
18 | deploy: | |
15 | # to disable usage of this service, running your own mysql instance set replicas to 0 |
|
19 | # to disable usage of this service, running your own mysql instance set replicas to 0 |
General Comments 0
You need to be logged in to leave comments.
Login now