This commit is contained in:
2025-08-13 20:20:54 +10:00
parent 0373b51af9
commit 261f4e87ed

View File

@@ -12,6 +12,8 @@ steps:
volumes: volumes:
- name: docker_compose_dir - name: docker_compose_dir
path: /app path: /app
host:
path: /home/gary/Discord/Acrybot
commands: commands:
- cd /app - cd /app
# The command to restart your Discord bot service using Docker Compose. # The command to restart your Discord bot service using Docker Compose.
@@ -20,9 +22,3 @@ steps:
# Use 'docker compose' for newer Docker versions (v2) or 'docker-compose' for older ones. # Use 'docker compose' for newer Docker versions (v2) or 'docker-compose' for older ones.
- docker compose restart python-app - docker compose restart python-app
# - docker-compose restart your_bot_service_name # Uncomment this line if you use older Docker Compose. # - docker-compose restart your_bot_service_name # Uncomment this line if you use older Docker Compose.
# Defines the volumes that are available to the steps in this pipeline.
volumes:
- name: docker_compose_dir # A named volume for your Docker Compose project directory.
host:
path: /home/gary/Discord/Acrybot # The actual absolute path on your host machine.