This commit is contained in:
@@ -11,7 +11,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restart-bot
|
- name: restart-bot
|
||||||
image: docker/compose # Image with Docker Compose
|
image: debian # Image with Docker Compose
|
||||||
volumes:
|
volumes:
|
||||||
# Using the short syntax to reference globally defined named volumes
|
# Using the short syntax to reference globally defined named volumes
|
||||||
- /var/run/docker.sock:/var/run/docker.sock # Maps named volume 'docker_sock' to container path
|
- /var/run/docker.sock:/var/run/docker.sock # Maps named volume 'docker_sock' to container path
|
||||||
@@ -22,6 +22,6 @@ steps:
|
|||||||
# IMPORTANT: Replace 'your_bot_service_name' with your actual service name.
|
# IMPORTANT: Replace 'your_bot_service_name' with your actual service name.
|
||||||
- ls
|
- ls
|
||||||
- pwd
|
- pwd
|
||||||
- docker-compose restart python-app
|
- docker compose restart python-app
|
||||||
# Uncomment the line below if you use older Docker Compose (with a hyphen)
|
# Uncomment the line below if you use older Docker Compose (with a hyphen)
|
||||||
# - docker-compose restart your_bot_service_name
|
# - docker-compose restart your_bot_service_name
|
||||||
|
|||||||
Reference in New Issue
Block a user