Projekt

Obecné

Profil

Stáhnout (947 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 7ee2e6ca Vojtěch Bartička
version: '3.7'
2
3
services:
4
  law_db:
5
    image: postgres:14
6
    container_name: annotool-db
7
    volumes:
8
      - annotool-data:/var/lib/postgresql/data/
9
#    ports:
10
#      - '5432:5432'
11
    environment:
12
      - POSTGRES_DB=annotool-db
13
      - POSTGRES_USER=root
14
      - POSTGRES_PASSWORD=HEun3RGgEYwknRuk4adh4ZKW
15
      - PGDATA=/var/lib/postgresql/data/pgdata
16
    shm_size: 256MB
17
18
  law_server:
19
    container_name: annotool-server
20
    build:
21
      dockerfile: ./Backend/Dockerfile
22
      context: ./Backend
23
    ports:
24
      - '8010:80'
25
    environment:
26
      - ConnectionString=Host=annotool-db:5432;Database=annotool-db;Username=root;Password=HEun3RGgEYwknRuk4adh4ZKW
27
    depends_on:
28
      - law_db
29
30
  law_client:
31
    container_name: annotool-client
32
    build:
33
      dockerfile: ./Dockerfile
34
      context: ./webapp
35
    environment:
36
      - ASWI_APP_BACKEND_URL=http://liks.fav.zcu.cz:8000
37
    ports:
38
      - '8011:5000'
39
40
volumes:
41
  annotool-data: