-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 1.06 KB
/
docker-compose.yml
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
30
31
32
33
34
35
36
37
38
version: "3"
services:
mongo:
image: mongo:latest
tty: true
stdin_open: true
container_name: seshat_mongo_db
ports:
- "127.0.0.1:27017:27017"
volumes:
- ./mongodata:/data/db
restart: always
server:
build: .
image: 'seshat/server:prod'
container_name: seshat
ports:
- "5000:80"
- "4200:4200"
restart: always
depends_on:
- mongo
volumes:
# set the corpora folder mounting point. You can set it to something different. For instance, if you
# corpora folder is /home/mark/data/my_corpora, this line will be
# - /home/mark/data/my_corpora:/app/corpora
# DO NOT change the second part of this line (the ":/app/corpora")
# DO NOT add another mounting point other than this one for the corpora folder
- ./corpora:/app/corpora
environment:
- FLASK_CONFIG=docker
- ADMIN_USERNAME=manager_username
- ADMIN_PASSWORD="your_admin_password"
- ADMIN_EMAIL="test@test.com"
- ADMIN_FIRST_NAME="Perceval"
- ADMIN_LAST_NAME="Le Gaulois"