-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
70 lines (67 loc) · 2.15 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3'
services:
web:
# To build from source uncomment this line:
#build: .
# and comment out the line below:
image: mosla/mesadnasim_web
restart: always
ports:
- "5000:80"
- "5443:443"
depends_on:
- redis
- postgres
environment:
SQLALCHEMY_DATABASE_URI: postgresql://dna_sim:test1337@postgres:5432/dna_sim
DATAPATH: /dna_sim/RNAstructure/data_tables
PYTHONPATH: "${PYTHONPATH}:/dna_sim/RNAstructure/exe"
PATH: "${PATH}:/dna_sim/RNAstructure/exe"
REDIS_SERVER: redis
REDIS_PASSWORD: CAC4AqAu-ha.8c37CA
SECRET_KEY: CHANGE_ME;CHANGE-ME+CHANGE?ME#Ch4nG3/M3!
SECRET_VALIDATION_SALT: CHANGE_ME$$CHANGE=MECHANGE_ME$$CHANGE=ME]]
SECRET_PASSWORD_RESET_VALIDATION_KEY: CH4NGE§ME%CHANGE(ME)(CHANGE{ME}}CHANGE&me
SECRET_ACCOUNT_DELETION_VALIDATION_KEY: change_me===change_me000CHANGE_ME§§CHANGE&me
MAIL_ENABLED: 'False'
MAIL_SERVER: smtp.your-server.com
MAIL_PORT: 465
MAIL_SENDER_ALIAS: [email protected]
MAIL_PASSWORD: CHANGE_ME1234
MAIL_USERNAME: [email protected]
MAIL_USE_TLS: 'False'
MAIL_USE_SSL: 'True'
# Add recipient to receive error-logs via mail!
# EXCEPTION_EMAIL: [email protected]
# Set this for Lets-Encrypt-SSL via Cloudflare-DNS-Verification:
# CF_Account_ID: XxXxXxXxXxXxXxXxXxXxXxXxXxXxXx
# CF_Token: XxXxXxXxXxXxXxXxXxXxXxXxXxXxXx
# CF_HOSTNAME: mesa.mosla.de
# if you just want to enable ssl with a self-signed cert you can set:
# SELF_SIGNED_HOSTNAME: mesa.mosla.de
networks:
- internet
- no-internet
redis:
image: redis
restart: always
command: redis-server --requirepass CAC4AqAu-ha.8c37CA
volumes:
- /srv/docker/redis:/data
networks:
- no-internet
postgres:
build: ./postgres
restart: always
environment:
POSTGRES_PASSWORD: ACnice290J=jC("))(dmJVJM=)V"Eu9n0
volumes:
- /srv/docker/postgresql:/var/lib/postgresql/data
networks:
- no-internet
networks:
no-internet:
driver: bridge
internal: true
internet:
driver: bridge