Skip to content

Commit

Permalink
Add dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed May 21, 2020
1 parent 8e2fff8 commit 1872c5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
tty: true
privileged: true
command: -d
depends_on:
- ovs

ovs:
restart: always
Expand Down
1 change: 1 addition & 0 deletions openvswitch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ ADD configure-ovs.sh /usr/local/share/openvswitch/
RUN ovsdb-tool create /etc/openvswitch/conf.db /usr/local/share/openvswitch/vswitch.ovsschema
ADD scripts /scripts
CMD ["/usr/bin/supervisord"]
HEALTHCHECK --interval=30s --timeout=5s CMD ovs-vsctl show

0 comments on commit 1872c5a

Please sign in to comment.