2022-07-22 10:24:47 +05:30
|
|
|
version: 3.7
|
2022-07-21 22:23:41 +05:30
|
|
|
|
|
|
|
services:
|
|
|
|
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
reverse-proxy:
|
2022-07-24 18:08:23 +05:30
|
|
|
image: caddy:alpine
|
2022-07-23 07:43:56 +05:30
|
|
|
container_name: caddy-vishwambhar
|
2022-07-22 10:24:47 +05:30
|
|
|
command: caddy run --config /etc/caddy/Caddyfile
|
|
|
|
restart: always
|
|
|
|
ports:
|
2022-07-27 16:31:40 +05:30
|
|
|
- "8080:80"
|
|
|
|
- "8443:443"
|
2022-07-22 10:24:47 +05:30
|
|
|
volumes:
|
|
|
|
- /trayimurti/containers/volumes/caddy/Caddyfile:/etc/caddy/Caddyfile:Z
|
|
|
|
- /trayimurti/containers/volumes/caddy/site:/srv:Z
|
|
|
|
- /trayimurti/containers/volumes/caddy/caddy_data:/data:Z
|
|
|
|
- /trayimurti/containers/volumes/caddy/caddy_config:/config:Z
|
|
|
|
- /trayimurti/containers/volumes/caddy/ssl:/etc/ssl:Z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=proxy
|
2022-08-17 15:12:46 +05:30
|
|
|
environment:
|
|
|
|
- TZ=Asia/Kolkata
|
2022-08-19 01:27:28 +05:30
|
|
|
depends_on:
|
|
|
|
- gitea-web
|
|
|
|
- thefossguy-blog
|
|
|
|
- nextcloud-web
|
|
|
|
- thefossguy-mach
|
|
|
|
- transmission-raadhe
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
|
|
|
|
gitea-web:
|
2022-07-21 22:23:41 +05:30
|
|
|
image: gitea/gitea:latest
|
2022-07-22 10:24:47 +05:30
|
|
|
container_name: gitea-govinda
|
2022-07-21 22:23:41 +05:30
|
|
|
restart: always
|
|
|
|
ports:
|
2022-08-01 16:13:43 +05:30
|
|
|
- "8010:3000"
|
|
|
|
- "8011:22"
|
2022-07-21 22:23:41 +05:30
|
|
|
volumes:
|
2022-07-27 01:46:17 +05:30
|
|
|
- /trayimurti/containers/volumes/gitea/web:/data:Z
|
2022-07-28 10:05:27 +05:30
|
|
|
- /trayimurti/containers/volumes/gitea/ssh:/data/git/.ssh:Z
|
2022-07-27 01:46:17 +05:30
|
|
|
# - /trayimurti/containers/volumes/gitea/web/data:/var/lib/gitea:Z
|
|
|
|
# - /trayimurti/containers/volumes/gitea/web/config:/etc/gitea:Z
|
2022-07-21 22:23:41 +05:30
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-17 15:12:46 +05:30
|
|
|
- pratham.container.category=gitea
|
2022-07-21 22:23:41 +05:30
|
|
|
environment:
|
2022-08-01 16:13:43 +05:30
|
|
|
- DEFAULT_BRANCH=master
|
|
|
|
- RUN_MODE=prod
|
|
|
|
- DISABLE_SSH=false
|
|
|
|
- START_SSH_SERVER=true
|
2022-08-17 15:12:46 +05:30
|
|
|
- SSH_PORT=22
|
|
|
|
- SSH_LISTEN_PORT=22
|
2022-07-21 22:23:41 +05:30
|
|
|
- ROOT_URL=https://git.thefossguy.com
|
2022-07-28 10:05:27 +05:30
|
|
|
- DOMAIN=git.thefossguy.com
|
|
|
|
- SSH_DOMAIN=git.thefossguy.com
|
2022-07-21 22:23:41 +05:30
|
|
|
- GITEA__database__DB_TYPE=postgres
|
2022-07-22 21:13:30 +05:30
|
|
|
- GITEA__database__HOST=gitea-db:5432
|
2022-07-21 22:23:41 +05:30
|
|
|
- GITEA__database__NAME=gitea
|
|
|
|
- GITEA__database__USER=gitea
|
|
|
|
- GITEA__database__PASSWD=/run/secrets/gitea_database_user_password
|
2022-07-30 20:17:21 +05:30
|
|
|
- GITEA__service__DISABLE_REGISTRATION=true
|
2022-07-21 22:23:41 +05:30
|
|
|
- TZ=Asia/Kolkata
|
|
|
|
depends_on:
|
|
|
|
- gitea-db
|
|
|
|
secrets:
|
|
|
|
- gitea_database_user_password
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
|
|
|
gitea-db:
|
|
|
|
image: postgres:alpine
|
2022-07-22 10:24:47 +05:30
|
|
|
container_name: gitea-chitragupta
|
2022-07-21 22:23:41 +05:30
|
|
|
restart: always
|
|
|
|
volumes:
|
2022-07-22 11:30:22 +05:30
|
|
|
- /trayimurti/containers/volumes/gitea/database:/var/lib/postgresql/data:Z
|
2022-08-17 14:08:05 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-17 15:12:46 +05:30
|
|
|
- pratham.container.category=gitea
|
2022-07-21 22:23:41 +05:30
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=gitea
|
|
|
|
- POSTGRES_PASSWORD=/run/secrets/gitea_database_user_password
|
|
|
|
- POSTGRES_DB=gitea
|
|
|
|
- TZ=Asia/Kolkata
|
|
|
|
secrets:
|
|
|
|
- gitea_database_user_password
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
thefossguy-blog:
|
|
|
|
image: klakegg/hugo:alpine
|
|
|
|
container_name: hugo-vaikunthnatham
|
2022-07-22 21:13:30 +05:30
|
|
|
command: server --disableFastRender -b https://blog.thefossguy.com/ --appendPort=false
|
2022-08-17 14:08:05 +05:30
|
|
|
restart: always
|
2022-07-22 10:24:47 +05:30
|
|
|
ports:
|
2022-07-27 16:31:40 +05:30
|
|
|
- "8020:1313"
|
2022-07-22 10:24:47 +05:30
|
|
|
volumes:
|
2022-07-22 11:30:22 +05:30
|
|
|
- /trayimurti/containers/volumes/blog:/src:Z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=blog
|
2022-07-22 10:24:47 +05:30
|
|
|
environment:
|
|
|
|
- TZ=Asia/Kolkata
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
nextcloud-web:
|
2022-07-23 15:55:48 +05:30
|
|
|
image: nextcloud:production
|
2022-07-22 10:24:47 +05:30
|
|
|
container_name: nextcloud-govinda
|
|
|
|
restart: always
|
|
|
|
ports:
|
2022-07-27 16:31:40 +05:30
|
|
|
- "8030:80"
|
2022-07-22 10:24:47 +05:30
|
|
|
volumes:
|
2022-07-27 01:46:17 +05:30
|
|
|
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=cloud
|
2022-07-22 10:24:47 +05:30
|
|
|
environment:
|
2022-07-26 21:56:49 +05:30
|
|
|
- POSTGRES_PASSWORD=/run/secrets/nextcloud_database_user_password
|
|
|
|
- POSTGRES_DB=nextcloud
|
|
|
|
- POSTGRES_USER=nextcloud
|
|
|
|
- POSTGRES_HOST=nextcloud-db
|
2022-07-22 21:13:30 +05:30
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=cloud.thefossguy.com
|
2022-07-23 19:23:58 +05:30
|
|
|
- OVERWRITECLIURL=https://cloud.thefossguy.com
|
|
|
|
- OVERWRITEPROTOCOL=https
|
2022-07-22 10:24:47 +05:30
|
|
|
- TZ=Asia/Kolkata
|
|
|
|
depends_on:
|
|
|
|
- nextcloud-db
|
|
|
|
secrets:
|
|
|
|
- nextcloud_database_user_password
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
nextcloud-db:
|
2022-07-26 21:56:49 +05:30
|
|
|
image: postgres:alpine
|
2022-07-22 10:24:47 +05:30
|
|
|
container_name: nextcloud-chitragupta
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2022-07-26 21:56:49 +05:30
|
|
|
- /trayimurti/containers/volumes/nextcloud/database:/var/lib/postgresql/data:Z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=cloud
|
2022-07-22 10:24:47 +05:30
|
|
|
environment:
|
2022-07-26 21:56:49 +05:30
|
|
|
- POSTGRES_DB=nextcloud
|
|
|
|
- POSTGRES_USER=nextcloud
|
|
|
|
- POSTGRES_PASSWORD=/run/secrets/nextcloud_database_user_password
|
2022-07-22 10:24:47 +05:30
|
|
|
- TZ=Asia/Kolkata
|
|
|
|
secrets:
|
|
|
|
- nextcloud_database_user_password
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
2022-07-26 21:56:49 +05:30
|
|
|
nextcloud-cron:
|
|
|
|
image: nextcloud:production
|
2022-07-27 01:46:17 +05:30
|
|
|
container_name: nextcloud-karma
|
2022-07-26 21:56:49 +05:30
|
|
|
entrypoint: /cron.sh
|
2022-08-17 14:08:05 +05:30
|
|
|
restart: always
|
2022-07-26 21:56:49 +05:30
|
|
|
volumes:
|
2022-07-27 01:46:17 +05:30
|
|
|
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=cloud
|
2022-07-26 21:56:49 +05:30
|
|
|
environment:
|
|
|
|
- TZ=Asia/Kolkata
|
|
|
|
depends_on:
|
|
|
|
- nextcloud-web
|
|
|
|
- nextcloud-db
|
2022-08-17 15:12:46 +05:30
|
|
|
|
2022-07-26 21:56:49 +05:30
|
|
|
|
2022-07-22 10:24:47 +05:30
|
|
|
thefossguy-mach:
|
|
|
|
image: klakegg/hugo:alpine
|
|
|
|
container_name: hugo-mahayogi
|
2022-07-22 21:13:30 +05:30
|
|
|
command: server --disableFastRender -b https://mach.thefossguy.com/ --appendPort=false
|
2022-08-17 14:08:05 +05:30
|
|
|
restart: always
|
2022-07-22 10:24:47 +05:30
|
|
|
ports:
|
2022-07-27 16:31:40 +05:30
|
|
|
- "8040:1313"
|
2022-07-22 10:24:47 +05:30
|
|
|
volumes:
|
2022-07-22 11:30:22 +05:30
|
|
|
- /trayimurti/containers/volumes/mach:/src:Z
|
2022-08-02 15:30:10 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
2022-08-02 15:37:36 +05:30
|
|
|
- pratham.container.category=mach
|
2022-07-22 10:24:47 +05:30
|
|
|
environment:
|
|
|
|
- TZ=Asia/Kolkata
|
2022-08-19 01:27:28 +05:30
|
|
|
|
2022-08-17 15:12:46 +05:30
|
|
|
transmission-web:
|
|
|
|
image: lscr.io/linuxserver/transmission:latest
|
2022-08-19 01:27:28 +05:30
|
|
|
container_name: transmission-raadhe
|
2022-08-17 15:12:46 +05:30
|
|
|
restart: always
|
2022-08-19 23:29:30 +05:30
|
|
|
ports:
|
|
|
|
- "8050:9091" # transmission web-ui
|
|
|
|
- "8051:51413" # torrent port TCP
|
|
|
|
- "8052:51413/udp" # torrent port UDP
|
2022-08-17 15:12:46 +05:30
|
|
|
volumes:
|
2022-08-19 01:27:28 +05:30
|
|
|
- /trayimurti/torrents/downloads:/downloads:Z
|
|
|
|
- /trayimurti/torrents/config:/config:Z
|
2022-08-17 15:12:46 +05:30
|
|
|
labels:
|
|
|
|
- io.containers.autoupdate=registry
|
|
|
|
- pratham.container.category=torrent
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Kolkata
|
2022-08-19 01:27:28 +05:30
|
|
|
|
2022-07-21 22:23:41 +05:30
|
|
|
|
2022-07-22 21:13:30 +05:30
|
|
|
secrets:
|
|
|
|
gitea_database_user_password:
|
|
|
|
external: true
|
|
|
|
nextcloud_database_user_password:
|
|
|
|
external: true
|
|
|
|
|
2022-08-19 01:27:28 +05:30
|
|
|
|
2022-08-17 14:36:46 +05:30
|
|
|
# SERVICE_TEMPLATE
|
|
|
|
# service:
|
2022-08-19 01:27:28 +05:30
|
|
|
# image:
|
|
|
|
# container_name:
|
2022-08-17 14:36:46 +05:30
|
|
|
# command OR entrypoint:
|
|
|
|
# restart: always
|
|
|
|
# ports:
|
|
|
|
# volumes:
|
|
|
|
# labels:
|
|
|
|
# - io.containers.autoupdate=registry
|
|
|
|
# - pratham.container.category=
|
|
|
|
# environment:
|
|
|
|
# - TZ=Asia/Kolkata
|
2022-08-19 01:27:28 +05:30
|
|
|
# sysctls:
|
|
|
|
# cap_add:
|
2022-08-17 14:36:46 +05:30
|
|
|
# depends_on:
|
|
|
|
# secrets:
|
|
|
|
# networks:
|