forked from NPAtlas/npatlas_curator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 897 Bytes
/
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
version: '3'
volumes:
curator_data:
services:
mysql:
image: mysql/mysql-server:5.7
container_name: mysql_container
ports:
- 3306:3306
environment:
MYSQL_DATABASE: npatlas_curation
MYSQL_USER: jvansan
MYSQL_PASSWORD: password
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
volumes:
- curator_data:/var/lib/mysql
curator:
image: curator
container_name: curator_container
build:
context: .
dockerfile: Dockerfile
ports:
- 3031:3031
links:
- mysql:dbserver
environment:
DBHOST: dbserver
nginx:
image: my-nginx
container_name: nginx_container
ports:
- 80:80
links:
- curator
build:
context: ./my-nginx
dockerfile: Dockerfile
# args:
# SERVER_NAME: npatlas-curate.chem.sfu.ca