Skip to content

Commit

Permalink
replace start_services.yaml with functioning, non-docker-swarm config…
Browse files Browse the repository at this point in the history
…uration
  • Loading branch information
sierra-moxon committed Sep 27, 2024
1 parent ee56256 commit 57a1bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
9 changes: 2 additions & 7 deletions provision/start_services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@
- vars.yaml

tasks:
- name: Init swarm
shell: |
docker swarm init
/bin/true
- name: Create and start services
shell: |
docker stack deploy --compose-file {{ stage_dir }}/docker-compose.yaml goapi
shell: nohup docker compose -f {{ stage_dir }}/docker-compose.yaml up -d
register: output
args:
executable: /bin/bash

- name: Check status
shell: |
docker stack ps goapi
docker compose -f {{ stage_dir }}/docker-compose.yaml ps
register: output
args:
executable: /bin/bash
Expand Down
20 changes: 0 additions & 20 deletions provision/start_services_using_docker_compose.yaml

This file was deleted.

0 comments on commit 57a1bbb

Please sign in to comment.