Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions infrastructure/ansible/compose.monitoring.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ volumes:

networks:
frontend_network:
driver: bridge
external: true
backend_network:
driver: bridge
external: true
monitoring_network:
driver: bridge
external: true



4 changes: 4 additions & 0 deletions infrastructure/ansible/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
dest: /opt/monitoring_app
become: false

- name: Create external docker networks
command: docker network create frontend_network backend_network monitoring_network
ignore_errors: true

- name: Stop and remove existing containers along with volumes(when force restart is true)
command: docker compose -f compose.monitoring.yaml down --volumes
args:
Expand Down