File: docker-compose.yml

package info (click to toggle)
sreview 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,504 kB
  • sloc: perl: 12,360; javascript: 509; sh: 72; makefile: 8
file content (29 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (2)
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
27
28
29
services:

  web:
    build:
      context: .
      dockerfile: ./dockerfiles/web/local.Dockerfile
    volumes:
      - ./web/:/usr/share/sreview/
      - ./lib/:/usr/local/lib/site_perl/
      - ./scripts/:/usr/src/scripts/
      - ./dev-incoming/:/srv/sreview/incoming/
      - ./dev-script-output/:/srv/sreview/script-output/
      - ./dev-output/:/srv/sreview/output/
    ports:
      - 3000:3000
    depends_on:
      - db

  db:
    image: postgres:17.2
    volumes:
      - postgres_data:/var/lib/postgresql/data/
    environment:
      - POSTGRES_USER=sreviewuser
      - POSTGRES_PASSWORD=sreviewpassword
      - POSTGRES_DB=sreviewdb

volumes:
  postgres_data: