You already have docker-compose.yml, which could be your base file, and then:
docker-compose.dev.ymlfor developmentdocker-compose.prod.ymlfor production
Each override or extend the base. For example:
| docker save \ | |
| fanout/pushpin:1.41.0 \ | |
| zeromq:latest \ | |
| haproxy:3.3.0 \ | |
| mariadb:12.1.2-noble \ | |
| redis/redis-stack \ | |
| -o bittonet.tar | |
| docker load -i ~/bittonet.tar |
| > rsync -avP .ssh iam@bit.wise:~ | |
| # the above copies the .ssh folder from PC A and dumps the folder to the ~/.ssh on the PC B |
| mkdir -p ~/.npm-global | |
| npm config set prefix '~/.npm-global' | |
| echo 'export PATH=$HOME/.npm-global/bin:$PATH' >> ~/.bashrc | |
| source ~/.bashrc |
| import time | |
| from datetime import datetime, timedelta, timezone | |
| import redis | |
| class RedisTimeTracker: | |
| def __init__(self): | |
| self.RD = redis.Redis( | |
| host="127.0.0.1", |
| #!/bin/bash | |
| TARGET=/usr/local/bin/docker-compose | |
| # Step 1: Create the file | |
| sudo touch "$TARGET" | |
| # Step 2: Make it executable | |
| sudo chmod +x "$TARGET" |
| ffmpeg -protocol_whitelist \ | |
| "file,http,https,tcp,tls" \ | |
| -i ~/Downloads/master.m3u8 \ | |
| -c copy master.mp4 |
| #!/usr/bin/env python | |
| """ | |
| Simple script to create a Django superuser. | |
| Run this from the project root directory. | |
| """ | |
| import os | |
| import sys | |
| import django |
| # cinema, advertising | |
| sudo apt install -y mpv smplayer | |
| mpv http://example.com/stream-url | |
| smplayer http://example.com/stream-url | |
| # cinema | |
| July 20, 2025, 14:00 | |
| http://example.com/katiba/jumat/monkies/019826bb-944c-726a-bd06-86456702e548 |
| /interface lte at-chat lte1 input="at+cmgd=1,4" |