summaryrefslogtreecommitdiff
path: root/compose.yml
blob: 00fb93df678bebd534f447294f7da4cbe7b8c870 (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:16
    restart: unless-stopped
    env_file: ./.env
    volumes:
      - ./data/db:/var/lib/postgresql/data