summaryrefslogtreecommitdiff
path: root/compose.yml
blob: eb4f8c74fdba3ef7f03be04ef19e499c4960f50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
services:
  app:
    build: .
    restart: unless-stopped
    depends_on:
      - db
    ports:
      - 8313:80
    volumes:
      - "./src/:/var/www/html/:ro"
  db:
    image: postgres
    restart: unless-stopped
    ports:
      - 5432:5432
    environment:
      POSTGRES_PASSWORD: "postgres"
    volumes:
      - ./data/db:/var/lib/postgresql/data