aboutsummaryrefslogtreecommitdiff
path: root/Docker/freshrss/docker-compose-db.yml
blob: b845947b6fc66918d1a822bc07fce702d69e7182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: "2.4"

volumes:
  db:

services:

  freshrss-db:
    image: postgres:14
    container_name: freshrss-db
    hostname: freshrss-db
    restart: unless-stopped
    logging:
      options:
        max-size: 10m
    volumes:
      - db:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: ${DB_BASE:-freshrss}
      POSTGRES_USER: ${DB_USER:-freshrss}
      POSTGRES_PASSWORD: ${DB_PASSWORD:-freshrss}