forked from preet90/PayloadProcessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-full.yml
65 lines (57 loc) · 1.28 KB
/
docker-compose-full.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
version: '3.4'
services:
dicom:
image: appertaopeneyes/payloadprocessor:latest
environment:
TZ: 'Europe/London'
DATABASE_HOST: "db"
DATABASE_USER: "${DATABASE_USER:-openeyes}"
DATABASE_PASS: "${DATABASE_PASS:-openeyes}"
WAIT_HOSTS: "web:80"
WAIT_HOSTS_TIMEOUT: 3000
stdin_open: true
tty: true
depends_on:
- db
- web
web:
image: appertaopeneyes/web:latest
environment:
TZ: 'Europe/London'
UID: '1'
GID: '1'
OE_MODE: 'DEV'
GIT_USER: "${GIT_USER}"
DATABASE_HOST: "db"
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD:-password}"
DATABASE_USER: "${DATABASE_USER:-openeyes}"
DATABASE_PASS: "${DATABASE_PASS:-openeyes}"
LOCAL_DB: "FALSE"
BUILD_BRANCH: "dicom/test"
secrets:
- source: SSH_PRIVATE_KEY
ports:
- "80:80"
stdin_open: true
tty: true
volumes:
- "oe-web:/var/www/openeyes"
depends_on:
- db
db:
image: mariadb:10.1
environment:
MYSQL_ROOT_PASSWORD: "password"
TZ: 'Europe/London'
ports:
- "3306:3306"
volumes:
- "oe-db:/var/lib/mysql"
volumes:
oe-web:
oe-db:
secrets:
SSH_PRIVATE_KEY:
file: ~/.ssh/id_rsa
SSH_AUTHORIZED_KEYS:
file: ~/.ssh/id_rsa.pub