-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 1.08 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
39
40
41
42
43
name: mission_control
volumes:
search-db:
# The braingeneers-net network is used to connect the containers together.
networks:
braingeneers-net:
driver: bridge
services:
search:
container_name: search
build:
context: .
dockerfile: Dockerfile
environment:
- VIRTUAL_HOST=search.braingeneers.gi.ucsc.edu
- VIRTUAL_PORT=8501
- LETSENCRYPT_HOST=search.braingeneers.gi.ucsc.edu
- S3_ENDPOINT=https://s3.braingeneers.gi.ucsc.edu
- S3_PROFILE=prp-braingeneers
- S3_BUCKET=braingeneers
volumes:
# DEV ONLY: Mount local code when developing only
# - .:/home/app/code:cached
- ${HOME}/.aws:/root/.aws:cached
- search-db:/root/data
# ports:
# DEV ONLY: Forward to local machine for tunnel to browser
# - "127.0.0.1:8501:8501"
expose:
- 8501
command:
- /bin/bash
- -c
- |
sqlite3 -init create.sql data/braingeneers.db .quit
cron
python main.py
networks:
- braingeneers-net