1
0
Fork 0
docker-compose-templates/docker-compose.yml

837 lines
22 KiB
YAML
Raw Normal View History

2023-01-11 12:08:35 +00:00
version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptimekuma
volumes:
- "${DOCKER_STORAGE_PATH}/uptimekuma:/app/data"
2023-01-11 12:13:20 +00:00
- "/var/run/docker.sock:/var/run/docker.sock"
2023-01-11 12:08:35 +00:00
ports:
- "${UPTIME_KUMA_EXTERNAL_PORT}:${UPTIME_KUMA_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:19:16 +00:00
profiles:
- infra
- base
2023-01-11 12:08:35 +00:00
restart: unless-stopped
2023-01-13 12:25:12 +00:00
logseq:
image: ghcr.io/logseq/logseq-webapp:latest
container_name: logseq
ports:
- "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:19:16 +00:00
profiles:
2023-02-05 18:33:26 +00:00
- disabled
restart: unless-stopped
2023-02-05 17:29:38 +00:00
- disabled
caddy:
image: caddy
container_name: caddy
ports:
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
- "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}"
2023-01-20 15:31:41 +00:00
user: ${PUID}
volumes:
2023-09-11 11:56:28 +00:00
- "${DOCKER_STORAGE_PATH}/caddy/etc:/etc/caddy"
- "${DOCKER_STORAGE_PATH}/caddy/data:/data"
- "${DOCKER_STORAGE_PATH}/caddy/config:/config"
- "/www/notes:/srv/notes"
- "timetracker-static:/srv/timetracker"
networks:
- public
- caddy
2023-01-26 07:19:16 +00:00
profiles:
- infra
- base
restart: unless-stopped
2023-03-23 09:55:57 +00:00
# cap_drop:
# - ALL
# cap_add:
# - NET_BIND_SERVICE
timetracker:
2023-01-21 14:15:19 +00:00
image: ${REGISTRY_URL}/timetracker
container_name: timetracker
environment:
- TZ=${TZ}
- "CSRF_TRUSTED_ORIGINS=https://tracker.kucharczyk.xyz"
user: ${PUID}
volumes:
- "${DOCKER_STORAGE_PATH}/timetracker/db.sqlite3:/home/timetracker/app/db.sqlite3"
2023-09-17 08:48:22 +00:00
- "${DOCKER_STORAGE_PATH}/timetracker/backups:/home/timetracker/app/games/fixtures/backups"
2023-01-21 14:15:19 +00:00
- "timetracker-static:/home/timetracker/app/static"
2023-01-26 07:19:16 +00:00
depends_on:
- caddy
networks:
- caddy
2023-01-26 07:19:16 +00:00
profiles:
- base
2023-01-21 14:15:19 +00:00
restart: unless-stopped
2023-01-25 08:42:41 +00:00
dokku:
image: dokku/dokku:0.29.4
container_name: dokku
environment:
- "DOKKU_HOSTNAME=192.168.0.106"
- "DOKKU_HOST_ROOT=/var/lib/dokku/home/dokku"
volumes:
2023-01-25 08:52:48 +00:00
- "${DOCKER_STORAGE_PATH}/dokku:/mnt/dokku"
2023-01-25 08:42:41 +00:00
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${DOKKU_EXTERNAL_PORT_1}:${DOKKU_INTERNAL_PORT_1}"
- "${DOKKU_EXTERNAL_PORT_2}:${DOKKU_INTERNAL_PORT_2}"
- "${DOKKU_EXTERNAL_PORT_3}:${DOKKU_INTERNAL_PORT_3}"
networks:
- public
2023-01-26 07:19:16 +00:00
profiles:
- disabled
2023-01-25 08:42:41 +00:00
2023-01-26 07:14:19 +00:00
trilium:
image: zadam/trilium
2023-01-26 07:15:16 +00:00
container_name: trilium
2023-01-26 07:14:19 +00:00
restart: always
environment:
- TRILIUM_DATA_DIR=/home/node/trilium-data
volumes:
- ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data
ports:
- "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:19:16 +00:00
profiles:
- base
2023-01-26 07:14:19 +00:00
2023-01-26 07:22:41 +00:00
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/ntfy/cache:/var/cache/ntfy"
- "${DOCKER_STORAGE_PATH}/ntfy/config:/etc/ntfy"
ports:
- "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:22:41 +00:00
profiles:
- base
- infra
restart: unless-stopped
2023-01-26 07:47:55 +00:00
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf
container_name: audiobookshelf
environment:
- AUDIOBOOKSHELF_UID=${PUID}
- AUDIOBOOKSHELF_GID=${PGID}
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/audiobookshelf/audiobooks:/audiobooks"
- "${DOCKER_STORAGE_PATH}/audiobookshelf/podcasts:/podcasts"
- "${DOCKER_STORAGE_PATH}/audiobookshelf/config:/config"
- "${DOCKER_STORAGE_PATH}/audiobookshelf/metadata:/metadata"
ports:
- "${AUDIOBOOKSHELF_EXTERNAL_PORT}:${AUDIOBOOKSHELF_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- disabled
restart: unless-stopped
beets:
image: ${REGISTRY_URL}/beets:latest
container_name: beets
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/beets:/config"
- "${STORAGE_PATH}/media/music2:/music"
- "${STORAGE_PATH}/download/music:/downloads"
ports:
- 8337:8337
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- base
restart: unless-stopped
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- DELUGE_LOGLEVEL=error #optional
volumes:
- "${DOCKER_STORAGE_PATH}/deluge2:/config"
- "${STORAGE_PATH}/seed:/seed"
ports:
- "8112:8112"
- "58846:58846"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- disabled
restart: unless-stopped
filebrowser:
image: filebrowser/filebrowser:s6
container_name: filebrowser
2023-01-26 07:47:55 +00:00
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
2023-01-27 11:07:49 +00:00
- "${DOCKER_STORAGE_PATH}/filebrowser/database:/database/"
- "${DOCKER_STORAGE_PATH}/filebrowser/config/:/config/"
2023-01-26 07:47:55 +00:00
- "${STORAGE_PATH}:/srv"
ports:
- "9999:80"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
2023-02-05 17:29:38 +00:00
- disabled
2023-01-26 07:47:55 +00:00
restart: unless-stopped
mealie:
container_name: mealie
image: hkotel/mealie:latest
environment:
PUID: ${PUID}
PGID: ${PGID}
TZ: ${TZ}
env_file:
- mealie.env
volumes:
- "${DOCKER_STORAGE_PATH}/mealie/data/:/app/data"
ports:
- ${MEALIE_EXTERNAL_PORT}:${MEALIE_INTERNAL_PORT}
networks:
- public
2023-01-26 07:47:55 +00:00
restart: unless-stopped
rtorrent:
image: binhex/arch-rtorrentvpn
container_name: rtorrent
volumes:
- "${DOCKER_STORAGE_PATH}/rtorrent/config:/config"
- ${STORAGE_PATH}/seed:/data
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
env_file:
- rtorrent.env
ports:
- "9080:9080"
- "9443:9443"
- "8118:8118"
- "6881:6881"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- base
restart: unless-stopped
kavita:
image: "kizaing/kavita:latest"
container_name: kavita
env_file:
- kavita.env
ports:
- "${KAVITA_EXTERNAL_PORT}:${KAVITA_INTERNAL_PORT}"
volumes:
- "${STORAGE_PATH}/media/comics:/manga"
- "${DOCKER_STORAGE_PATH}/kavita:/kavita/config"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
2023-02-05 17:29:38 +00:00
- disabled
2023-01-26 07:47:55 +00:00
restart: unless-stopped
webhook:
image: ${REGISTRY_URL}/webhook
container_name: webhook
build: https://git.kucharczyk.xyz/containers/webhook.git#main
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/webhook/config:/config"
- "${DOCKER_STORAGE_PATH}/webhook/scripts:/var/webhook"
ports:
- "${WEBHOOK_EXTERNAL_PORT}:${WEBHOOK_INTERNAL_PORT}"
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- base
- infra
restart: unless-stopped
valheim:
image: ghcr.io/lloesche/valheim-server
container_name: valheim
volumes:
- ${DOCKER_STORAGE_PATH}/valheim/config:/config
- ${DOCKER_STORAGE_PATH}/valheim/data:/opt/valheim
env_file:
- valheim.env
ports:
- ${VALHEIM_EXTERNAL_PORT}:${VALHEIM_INTERNAL_PORT}
cap_add:
- SYS_NICE
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- disabled
restart: unless-stopped
7daystodie:
image: 7daysserver:latest
container_name: 7dtd
volumes:
- ${DOCKER_STORAGE_PATH}/7daystodie/saves:/home/steam/.local/share/7DaysToDie/Saves
- ${DOCKER_STORAGE_PATH}/7daystodie/server:/home/steam/server
ports:
- 26900-26902:26900-26902/udp
- 18500:8080
networks:
- public
2023-01-26 07:47:55 +00:00
profiles:
- disabled
restart: unless-stopped
2023-01-26 11:05:08 +00:00
loki:
image: grafana/loki:2.6.1
container_name: loki
user: "${PUID}"
ports:
- "${LOKI_EXTERNAL_PORT}:${LOKI_INTERNAL_PORT}"
command: -config.file=/etc/loki/local-config.yaml
volumes:
- "${DOCKER_STORAGE_PATH}/loki/local-config.yaml:/etc/loki/local-config.yaml"
networks:
- loki
profiles:
2023-02-05 17:29:38 +00:00
- disabled
2023-01-26 11:05:08 +00:00
- infra
restart: unless-stopped
promtail:
image: grafana/promtail:2.6.1
container_name: promtail
user: "${PUID}"
volumes:
- /var/log:/var/log
- "${DOCKER_STORAGE_PATH}/promtail/config.yml:/etc/promtail/config.yml"
command: -config.file=/etc/promtail/config.yml
depends_on:
- loki
networks:
- loki
profiles:
2023-02-05 17:29:38 +00:00
- disabled
2023-01-26 11:05:08 +00:00
- infra
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
user: "${PUID}"
ports:
- "${GRAFANA_EXTERNAL_PORT}:${GRAFANA_INTERNAL_PORT}"
networks:
- loki
profiles:
2023-02-05 17:29:38 +00:00
- disabled
2023-01-26 11:05:08 +00:00
- infra
restart: unless-stopped
2023-01-29 20:26:12 +00:00
stash:
image: stashapp/stash:latest
container_name: stash
ports:
- "${STASH_EXTERNAL_PORT}:${STASH_INTERNAL_PORT}"
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
# network_mode: host
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- STASH_CACHE=/cache/
- STASH_PORT=${STASH_INTERNAL_PORT}
volumes:
- /etc/localtime:/etc/localtime:ro
## Adjust below paths (the left part) to your liking.
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
## Keep configs, scrapers, and plugins here.
- "${DOCKER_STORAGE_PATH}/stash/config:/root/.stash"
## Point this at your collection.
- "${STORAGE_PATH}/xxx:/data/"
## This is where your stash's metadata lives
- "${DOCKER_STORAGE_PATH}/stash/metadata:/metadata"
## Any other cache content.
- "${DOCKER_STORAGE_PATH}/stash/cache:/cache"
## Where to store generated content (screenshots,previews,transcodes,sprites)
- "${DOCKER_STORAGE_PATH}/stash/generated:/generated"
## Where to store binary blob data (scene covers, images)
- "${DOCKER_STORAGE_PATH}/stash/blobs:/blobs"
2023-01-29 20:26:12 +00:00
networks:
- public
profiles:
- base
restart: unless-stopped
2023-01-30 15:10:22 +00:00
navidrome:
image: deluan/navidrome
container_name: navidrome
ports:
- "${NAVIDROME_EXTERNAL_PORT}:${NAVIDROME_INTERNAL_PORT}"
env_file:
- navidrome.env
user: "${PUID}:${PGID}"
volumes:
- "${DOCKER_STORAGE_PATH}/navidrome:/data"
- "${STORAGE_PATH}/media/music2:/music"
networks:
- public
profiles:
- base
restart: unless-stopped
2023-01-30 15:34:30 +00:00
maloja:
image: krateng/maloja
container_name: maloja
ports:
- "${MALOJA_EXTERNAL_PORT}:${MALOJA_INTERNAL_PORT}"
env_file:
- maloja.env
user: "${PUID}:${PGID}"
volumes:
- "${DOCKER_STORAGE_PATH}/maloja:/data"
2023-02-05 17:34:40 +00:00
networks:
- public
profiles:
- base
restart: unless-stopped
2023-01-30 15:34:30 +00:00
2023-03-14 13:26:13 +00:00
redis:
2023-03-14 13:32:27 +00:00
container_name: redis
2023-03-14 13:26:13 +00:00
image: docker.io/library/redis:7
2023-03-14 13:34:34 +00:00
networks:
- redis
2023-03-14 13:26:13 +00:00
restart: unless-stopped
volumes:
- "${DOCKER_STORAGE_PATH}/redis:/data"
paperless-ngx:
container_name: paperless-ngx
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- redis
- gotenberg
- tika
ports:
- "${PAPERLESS_EXTERNAL_PORT}:${PAPERLESS_INTERNAL_PORT}"
networks:
- public
2023-03-14 13:34:34 +00:00
- redis
2023-03-14 15:03:10 +00:00
- tika
- gotenberg
2023-03-14 13:26:13 +00:00
profiles:
- base
healthcheck:
test:
[
"CMD",
"curl",
"-fs",
"-S",
"--max-time",
"2",
"http://localhost:8000"
]
interval: 30s
timeout: 10s
retries: 5
volumes:
- "${DOCKER_STORAGE_PATH}/paperless-ngx/data:/usr/src/paperless/data"
- "${DOCKER_STORAGE_PATH}/paperless-ngx/media:/usr/src/paperless/media"
- "${DOCKER_STORAGE_PATH}/paperless-ngx/export:/usr/src/paperless/export"
- "${DOCKER_STORAGE_PATH}/paperless-ngx/consume:/usr/src/paperless/consume"
env_file: paperless-ngx.env
environment:
PAPERLESS_REDIS: redis://redis:6379
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
gotenberg:
image: docker.io/gotenberg/gotenberg:7.6
restart: unless-stopped
2023-03-14 15:03:10 +00:00
networks:
- gotenberg
2023-03-14 13:26:13 +00:00
# The gotenberg chromium route is used to convert .eml files. We do not
# want to allow external content like tracking pixels or even javascript.
profiles:
- base
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
image: ghcr.io/paperless-ngx/tika:latest
2023-03-14 15:03:10 +00:00
networks:
- tika
2023-03-14 13:26:13 +00:00
profiles:
- base
restart: unless-stopped
2023-03-14 14:57:24 +00:00
homer:
image: b4bz/homer
container_name: homer
ports:
- "${HOMER_EXTERNAL_PORT}:${HOMER_INTERNAL_PORT}"
networks:
- public
profiles:
- base
volumes:
- "${DOCKER_STORAGE_PATH}/homer:/www/assets"
environment:
UID: ${PUID}
GID: ${PGID}
restart: unless-stopped
2023-03-14 15:59:32 +00:00
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
volumes:
- "${DOCKER_STORAGE_PATH}/syncthing:/config"
- "${STORAGE_PATH}/docker-storage/syncthing:/general"
ports:
- "${SYNCTHING_EXTERNAL_PORT1}:${SYNCTHING_INTERNAL_PORT1}"
- "${SYNCTHING_EXTERNAL_PORT2}:${SYNCTHING_INTERNAL_PORT2}"
- "${SYNCTHING_EXTERNAL_PORT3}:${SYNCTHING_INTERNAL_PORT3}"
- "${SYNCTHING_EXTERNAL_PORT4}:${SYNCTHING_INTERNAL_PORT4}"
2023-03-14 16:09:49 +00:00
environment:
- "PUID=${PUID}"
- "PGID=${PGID}"
2023-03-14 15:59:32 +00:00
restart: unless-stopped
profiles:
- base
networks:
- public
2023-03-23 09:55:57 +00:00
searxng:
container_name: searxng
image: searxng/searxng:latest
networks:
- public
2023-03-23 09:55:57 +00:00
- redis
ports:
- "${SEARXNG_EXTERNAL_PORT}:${SEARXNG_INTERNAL_PORT}"
2023-03-23 09:55:57 +00:00
volumes:
- "${DOCKER_STORAGE_PATH}/searxng:/etc/searxng:rw"
environment:
- SEARXNG_BASE_URL=https://search.${DOMAIN}/
2023-03-23 09:55:57 +00:00
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
profiles:
- base
restart: unless-stopped
2023-03-23 09:55:57 +00:00
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
mediawiki:
container_name: mediawiki
image: mediawiki
networks:
- public
depends_on:
- mariadb
ports:
- "${MEDIAWIKI_EXTERNAL_PORT}:${MEDIAWIKI_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/mediawiki/images:/var/www/html/images"
2023-03-28 12:07:38 +00:00
- "${DOCKER_STORAGE_PATH}/mediawiki/extensions:/var/www/html/extensions"
- "${DOCKER_STORAGE_PATH}/mediawiki/LocalSettings.php:/var/www/html/LocalSettings.php"
profiles:
- base
restart: unless-stopped
npm:
container_name: nginx-proxy-manager
2023-09-20 09:20:01 +00:00
image: docker.io/jc21/nginx-proxy-manager:latest
network_mode: host
# doesn't need to be in the mariadb network because it uses host mode
depends_on:
- mariadb
volumes:
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/data:/data"
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
- sockets:/var/run/mysqld
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark"
environment:
- DB_MYSQL_HOST=localhost
- DB_MYSQL_NAME=npm
- DB_MYSQL_PASSWORD=npm
- "DB_MYSQL_PORT=${MARIADB_EXTERNAL_PORT}"
- DB_MYSQL_USER=npm
profiles:
- infra
- base
restart: unless-stopped
photoprism:
container_name: photoprism
image: docker.io/photoprism/photoprism
networks:
- mariadb
- public
ports:
- "${PHOTOPRISM_EXTERNAL_PORT}:${PHOTOPRISM_INTERNAL_PORT}"
depends_on:
- mariadb
env_file:
- photoprism.env
volumes:
- "${PHOTOS_STORAGE_PATH}/import:/photoprism/import"
- "${PHOTOS_STORAGE_PATH}/originals:/photoprism/originals"
- "${PHOTOS_STORAGE_PATH}/storage:/photoprism/storage"
profiles:
- base
restart: unless-stopped
mariadb:
container_name: mariadb
image: linuxserver/mariadb
networks:
2023-03-28 11:11:13 +00:00
- mariadb
- public
ports:
- "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/mariadb:/config"
- sockets:/run/mysqld/
restart: unless-stopped
profiles:
- infra
2023-03-28 11:13:23 +00:00
- base
2023-05-07 19:48:04 +00:00
sonarr:
container_name: sonarr_tv_standard
image: linuxserver/sonarr:develop
networks:
- public
ports:
- "${SONARR_TV_STANDARD_EXTERNAL_PORT}:${SONARR_INTERNAL_PORT}"
2023-05-08 16:00:45 +00:00
environment:
- PUID=${PUID}
- PGID=${PGID}
2023-05-07 19:48:04 +00:00
volumes:
- "${DOCKER_STORAGE_PATH}/sonarr:/config"
- "${TV_PATH}:/tv"
- "${ANIME_PATH}:/anime"
- "${NZB_DOWNLOADS_PATH}:/downloads"
- "${TORRENTS_SEED_PATH}:/seed"
- "${TORRENTS_SEED_PATH}/incomplete:/data/incomplete"
restart: unless-stopped
profiles:
- base
- media
2023-09-08 10:14:41 +00:00
baserow:
container_name: baserow
image: baserow/baserow:latest
networks:
- public
- postgres
depends_on:
- postgres
2023-09-08 10:14:41 +00:00
ports:
- "${BASEROW_EXTERNAL_PORT}:${BASEROW_INTERNAL_PORT}"
env_file:
- baserow.env
volumes:
- "${DOCKER_STORAGE_PATH}/baserow:/baserow/data"
restart: unless-stopped
profiles:
2023-09-10 13:09:06 +00:00
- disabled
2023-09-08 10:14:41 +00:00
2023-09-08 10:29:32 +00:00
postgres:
container_name: postgres
image: postgres:latest
networks:
- postgres
ports:
- "${BASEROW_EXTERNAL_PORT}:${BASEROW_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
profiles:
- base
- infra
2023-09-10 12:53:48 +00:00
gitea:
container_name: gitea
image: ${REGISTRY_URL}/gitea:latest
networks:
- public
- postgres
depends_on:
- postgres
ports:
- "${GITEA_WEBUI_EXTERNAL_PORT}:${GITEA_WEBUI_INTERNAL_PORT}"
- "${GITEA_SSH_EXTERNAL_PORT}:${GITEA_SSH_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/gitea:/data"
gitearunner:
2023-09-10 13:00:15 +00:00
container_name: gitearunner
2023-09-10 12:53:48 +00:00
image: gitea/act_runner
depends_on:
- gitea
volumes:
- "${DOCKER_STORAGE_PATH}/gitearunner:/config"
- /var/run/docker.sock:/var/run/docker.sock
environment:
2023-09-10 13:08:47 +00:00
- GITEA_INSTANCE_URL=https://git.${DOMAIN}
2023-09-10 12:53:48 +00:00
# When using Docker Secrets, it's also possible to use
# GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location.
# The env var takes precedence
- GITEA_RUNNER_REGISTRATION_TOKEN=1vm09SjKhzCpzRMdM6UkTGmBhrcyIyAGtb4GK60f
profiles:
- base
- infra
restart: unless-stopped
2023-09-15 11:17:14 +00:00
linkace:
image: linkace/linkace:simple
container_name: linkace
networks:
- public
- mariadb
- redis
2023-09-15 13:13:56 +00:00
depends_on:
- mariadb
- redis
2023-09-15 11:17:14 +00:00
environment:
2023-09-15 13:13:56 +00:00
# these env variables are instead of .env file
# see https://www.linkace.org/docs/v1/setup/setup-with-docker/advanced-configuration/#using-docker-environment-variables-instead-of-the-env-file
- APP_KEY=base64:X6XDR+dfqn5PM9QdmmxJoOECSsldWhkfnyi6yvohgNM=
- DB_HOST=${MYSQL_HOST}
2023-09-15 11:17:14 +00:00
- DB_DATABASE=${LINKACE_DB}
- DB_USERNAME=${LINKACE_DB_USERNAME}
- DB_PASSWORD=${LINKACE_DB_PASSWORD}
- REDIS_HOST=redis
ports:
- "${LINKACE_EXTERNAL_PORT}:${LINKACE_INTERNAL_PORT}"
volumes:
- ${DOCKER_STORAGE_PATH}/linkace/backups:/app/storage/app/backups
2023-09-15 13:13:56 +00:00
- ${DOCKER_STORAGE_PATH}/linkace/logs:/app/storage/logs
2023-09-15 11:17:14 +00:00
restart: unless-stopped
profiles:
- base
2023-09-26 13:01:17 +00:00
traefik:
2023-09-26 13:16:52 +00:00
image: "traefik:latest"
2023-09-26 13:01:17 +00:00
container_name: traefik
command:
- --api.insecure=true
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.http.address=:80
- --entrypoints.https.address=:443
- --certificatesresolvers.myresolver.acme.email=lukas@kucharczyk.xyz
2023-09-26 13:01:17 +00:00
- --certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json
2023-09-26 13:15:08 +00:00
- --certificatesresolvers.myresolver.acme.dnsChallenge=true
2023-09-26 13:01:17 +00:00
- --certificatesresolvers.myresolver.acme.dnsChallenge.provider=ovh
2023-09-26 13:15:08 +00:00
- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
2023-09-26 13:01:17 +00:00
- --configFile=/etc/traefik/traefik.toml
2023-09-26 13:15:08 +00:00
environment:
- "OVH_ENDPOINT=ovh-eu"
- "OVH_APPLICATION_KEY=f7255cb22f72787c"
- "OVH_APPLICATION_SECRET=3a040d8113a213b9613b3877ce4352ad"
- "OVH_CONSUMER_KEY=a0a9e8004bb6fe251654cc744c55d239"
2023-09-26 13:01:17 +00:00
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DOCKER_STORAGE_PATH}/traefik/acme.json:/letsencrypt/acme.json
- ${DOCKER_STORAGE_PATH}/traefik/traefik.toml:/etc/traefik/traefik.toml
networks:
- public
2023-09-26 13:15:08 +00:00
# ghost:
# image: "ghost:latest"
# container_name: ghost
# environment:
# - url=http://blog.kucharczyk.xyz
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.ghost.rule=Host(`blog.kucharczyk.xyz`)"
# - "traefik.http.routers.ghost.entrypoints=https"
# - "traefik.http.routers.ghost.tls.certresolver=myresolver"
# volumes:
# - ${DOCKER_STORAGE_PATH}/ghost/content:/var/lib/ghost/content
# networks:
# - public
whoami:
image: traefik/whoami
container_name: simple-service
2023-09-26 13:01:17 +00:00
labels:
- "traefik.enable=true"
2023-09-26 13:15:08 +00:00
- "traefik.http.routers.whoami.rule=Host(`whoami.kucharczyk.xyz`)"
- "traefik.http.routers.whoami.entrypoints=https"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
2023-09-26 13:01:17 +00:00
2023-01-26 07:47:55 +00:00
networks:
2023-01-26 11:05:08 +00:00
loki:
caddy:
attachable: true
internal: true
2023-03-14 13:34:34 +00:00
redis:
2023-03-14 15:03:10 +00:00
internal: true
tika:
internal: true
gotenberg:
2023-03-14 13:34:34 +00:00
internal: true
public:
attachable: true
2023-01-26 07:47:55 +00:00
postgres:
external: true
mariadb:
attachable: true
2023-01-26 07:47:55 +00:00
volumes:
2023-09-15 13:13:56 +00:00
timetracker-static:
sockets: