aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 892d5988d3572bd1da12acb77defbb42bd518288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3'
services:
  postgres:
    image: postgres:13.4-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: fchan
      POSTGRES_PASSWORD: hackme
      POSTGRES_DB: fchan
    volumes:
      - ./pgdata:/var/lib/postgresql/data
  redis:
    image: redis:6.2-alpine
    restart: unless-stopped
  fchan:
    build: ./
    restart: unless-stopped
    volumes:
      - ./config:/app/config
      - ./public/:/app/public/
      - ./pem/:/app/pem/
    ports:
      - "3000:3000"
    links:
      - redis
      - postgres