Merge "Update docker-compose restart flags"

This commit is contained in:
Zuul 2021-07-28 00:04:49 +00:00 committed by Gerrit Code Review
commit d8afe07574
3 changed files with 2 additions and 1 deletions

View File

@ -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 }}"

View File

@ -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:

View File

@ -5,6 +5,7 @@ version: '2'
services:
zk:
image: docker.io/library/zookeeper:3.5
restart: always
network_mode: host
user: "10001:10001"
volumes: