mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:36:16 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
13
commafeed/.env
Normal file
13
commafeed/.env
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Commafeed
|
||||
COMMAFEED_PORT=
|
||||
COMMAFEED_DBNAME=
|
||||
COMMAFEED_DBUSER=
|
||||
COMMAFEED_DBPASS=
|
||||
COMMAFEED_URL=
|
||||
56
commafeed/docker-compose.yaml
Normal file
56
commafeed/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
services:
|
||||
|
||||
# https://hub.docker.com/r/athou/commafeed
|
||||
commafeed:
|
||||
image: ${REGISTRY}/commafeed
|
||||
container_name: commafeed
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${COMMAFEED_PORT:-8082}:8082
|
||||
environment:
|
||||
# PostgreSQL
|
||||
CF_DATABASE_DRIVERCLASS: org.postgresql.Driver
|
||||
CF_DATABASE_URL: jdbc:postgresql://commafeed-postgresql:5432/${COMMAFEED_DBNAME:-commafeed}
|
||||
CF_DATABASE_USER: ${COMMAFEED_DBUSER:-commafeed}
|
||||
CF_DATABASE_PASSWORD: ${COMMAFEED_DBPASS:-commafeed}
|
||||
# App settings
|
||||
CF_APP_PUBLICURL: ${COMMAFEED_URL:-http://localhost:${COMMAFEED_PORT:-8082}}
|
||||
CF_APP_IMAGEPROXYENABLED: true
|
||||
CF_APP_STRICTPASSWORDPOLICY: false
|
||||
# Redis
|
||||
CF_APP_CACHE: redis
|
||||
CF_REDIS_HOST: commafeed-redis
|
||||
CF_REDIS_PORT: 6379
|
||||
volumes:
|
||||
- ./data:/commafeed/data
|
||||
depends_on:
|
||||
- commafeed-postgresql
|
||||
- commafeed-redis
|
||||
networks:
|
||||
- commafeed
|
||||
commafeed-postgresql:
|
||||
image: ${REGISTRY}/postgres
|
||||
container_name: commafeed-postgresql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${COMMAFEED_DBNAME:-commafeed}
|
||||
POSTGRES_USER: ${COMMAFEED_DBUSER:-commafeed}
|
||||
POSTGRES_PASSWORD: ${COMMAFEED_DBPASS:-commafeed}
|
||||
volumes:
|
||||
- ./sql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
- commafeed
|
||||
commafeed-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: commafeed-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
healthcheck:
|
||||
test: redis-cli ping
|
||||
networks:
|
||||
- commafeed
|
||||
|
||||
networks:
|
||||
commafeed:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue