aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 72fae4cc42d6b3f3870cd26dc9733871d65effe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
  fchan:
    build: ./
    restart: unless-stopped
    volumes:
      - ./config:/app/config
      - ./public/:/app/public/
      - ./pem/:/app/pem/
    ports:
      - "3000:3000"
    links:
      - postgres