Skip to content

Commit

Permalink
Create compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AnikBeris authored Jan 5, 2025
1 parent c9b77a5 commit df1494b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: '3.8'

services:
bitpingd-interactive:
image: bitping/bitpingd:latest
container_name: bitpingd-interactive
restart: unless-stopped
volumes:
- ./bitpingd-volume:/root/.bitpingd
tty: true # For interactive mode

bitpingd-cli:
image: bitping/bitpingd:latest
container_name: bitpingd-cli
restart: "no" # CLI used for authentication only
entrypoint: /app/bitpingd
command: "login --email *********** --password ***********" # Provide MFA if required
volumes:
- ./bitpingd-volume:/root/.bitpingd
stdin_open: true
tty: true

bitpingd-node:
image: bitping/bitpingd:latest
container_name: bitpingd-node
restart: unless-stopped
depends_on:
- bitpingd-cli
volumes:
- ./bitpingd-volume:/root/.bitpingd

bitpingd-env:
image: bitping/bitpingd:latest
container_name: bitpingd-env
restart: unless-stopped
environment:
BITPING_EMAIL: ***********
BITPING_PASSWORD: ***********
BITPING_MFA: "" # Provide MFA if required
volumes:
- ./bitpingd-volume:/root/.bitpingd

volumes:
bitpingd-volume:
driver: local

0 comments on commit df1494b

Please sign in to comment.