diff options
author | EuAndreh <eu@euandre.org> | 2020-08-02 18:53:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-02 18:53:18 -0300 |
commit | 4f975827454563232d7de12a1163cfe759600306 (patch) | |
tree | 9d44633b2555bf988dbd401129a92fb1ced85504 | |
parent | Use a name from the environment for the names of the host and the volume (diff) | |
download | server-4f975827454563232d7de12a1163cfe759600306.tar.gz server-4f975827454563232d7de12a1163cfe759600306.tar.xz |
provision.yaml: Create the docker network before starting docker-compose
-rw-r--r-- | provision.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/provision.yaml b/provision.yaml index a88103e..a202d7f 100644 --- a/provision.yaml +++ b/provision.yaml @@ -38,6 +38,9 @@ - name: Restore borg backup when we have a fresh volume shell: /home/vps/restore-backup.sh when: lookup('env', 'DESTROY_VOLUME') == "1" + - name: Create the required Docker network + docker_network: + name: nginx-proxy - name: Start docker-compose docker_compose: project_src: /home/vps/ |