Update docker-compose restart flags
After I replace the docker packages some services I thought would come back did not. Lodegit seems to be an oversight, add restart always. Also make sure the ZK containers start themselves. I believe with Gerrit we've made the choice to not start automatically due to the general high-touch nature of restarts. Keep the database consistent and remove the auto restart there. Change-Id: I98fa3055ac269564ed96570df0700b2aad24e4d2
This commit is contained in:
parent
d68f8ce7bb
commit
fc4ca85f08
@ -4,7 +4,6 @@ services:
|
||||
mariadb:
|
||||
image: docker.io/library/mariadb:10.4
|
||||
network_mode: host
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: "{{ gerrit_reviewdb_mariadb_password }}"
|
||||
MYSQL_DATABASE: "{{ gerrit_reviewdb_mariadb_dbname }}"
|
||||
|
@ -23,6 +23,7 @@ services:
|
||||
image: docker.io/opendevorg/lodgeit
|
||||
depends_on:
|
||||
- mariadb
|
||||
restart: always
|
||||
network_mode: host
|
||||
command: ['/bin/bash', '-c', 'echo "*** Starting"; sleep 30; /usr/local/bin/uwsgi']
|
||||
logging:
|
||||
|
@ -5,6 +5,7 @@ version: '2'
|
||||
services:
|
||||
zk:
|
||||
image: docker.io/library/zookeeper:3.5
|
||||
restart: always
|
||||
network_mode: host
|
||||
user: "10001:10001"
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user