summaryrefslogtreecommitdiff
path: root/compose.yml
blob: 7b68e2e4462ba03d6a0d26b446248d0bec08ffc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
services:
  app:
    build:
      context: ./
      target: prod
    restart: unless-stopped
    env_file: ./.env
    depends_on:
      - db
    ports:
      - 127.0.0.1:8313:80
  db:
    image: postgres
    restart: unless-stopped
    env_file: ./.env
    volumes:
      - ./data/db:/var/lib/postgresql/data