Skip to content
Snippets Groups Projects

add services keyword and three dashes that signal the start of document content in a yaml file

Closed luciole requested to merge (removed):docker-compose-services into main
1 file
+ 13
11
Compare changes
  • Side-by-side
  • Inline
+ 13
11
telegram-bridge-bot:
container_name: telegram-bridge-bot
hostname: telegram-bridge-bot
restart: always
image: telegram-bridge-bot
volumes:
- ./data:/data
ports:
- "0.0.0.0:2112:2112"
command:
["-t", "TELEGRAM_TOKEN", "-f", "/data/bridges", "-db", "/data/bridges.db"]
---
services:
telegram-bridge-bot:
container_name: telegram-bridge-bot
hostname: telegram-bridge-bot
restart: always
image: telegram-bridge-bot
volumes:
- ./data:/data
ports:
- "0.0.0.0:2112:2112"
command:
["-t", "TELEGRAM_TOKEN", "-f", "/data/bridges", "-db", "/data/bridges.db"]
Loading