Projekt

Obecné

Profil

Stáhnout (918 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 ee3e7185 Jaroslav Hrubý
version: '3.7'
2
3
services:
4
  db:
5
    image: postgres
6
    container_name: annotool-db
7
    volumes:
8
      - annotool-data:/var/lib/postgresql/data/
9
    ports:
10
      - '5432:5432'
11
    environment:
12 88d5dda9 Jaroslav Hrubý
      - POSTGRES_DB=annotool-db
13 ee3e7185 Jaroslav Hrubý
      - POSTGRES_USER=root
14
      - POSTGRES_PASSWORD=HEun3RGgEYwknRuk4adh4ZKW
15
      - PGDATA=/var/lib/postgresql/data/pgdata
16
    shm_size: 256MB
17
18
  server:
19
    container_name: annotool-server
20
    build:
21
      dockerfile: ./Backend/Dockerfile
22
      context: ./Backend
23
    ports:
24 7f274190 Jaroslav Hrubý
      - '8080:80'
25 ee3e7185 Jaroslav Hrubý
    environment:
26 88d5dda9 Jaroslav Hrubý
      - ConnectionString=Host=annotool-db:5432;Database=annotool-db;Username=root;Password=HEun3RGgEYwknRuk4adh4ZKW
27 ee3e7185 Jaroslav Hrubý
    depends_on:
28
      - db
29
30
  client:
31
    container_name: annotool-client
32
    build:
33
      dockerfile: ./Dockerfile
34
      context: ./webapp
35 88d5dda9 Jaroslav Hrubý
    environment:
36 7f274190 Jaroslav Hrubý
      - ASWI_APP_BACKEND_URL=http://localhost:8080
37 ee3e7185 Jaroslav Hrubý
    ports:
38 cc4d8aa7 Jaroslav Hrubý
      - '80:5000'
39 ee3e7185 Jaroslav Hrubý
40
volumes:
41 cc4d8aa7 Jaroslav Hrubý
  annotool-data: