-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (35 loc) · 1.2 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
version: '2'
services:
deploy:
build:
context: .
args: { USER, USERID, GROUPID }
dockerfile: docker/deploy/Dockerfile
image: docker.niartifactory.maninvestments.com/$USER/grail:deploy
command: python server.py
user: $USER
environment: { NetAcro, NOSNAP, NIXONHOME, FREETDSCONF, LANG=en_US.UTF-8, WERKEUG_RUN_MAIN=true, CROWD_AUTH=true }
ports:
- 9200:9200
volumes:
- /NImounts/Common/data:$CommonData:shared
- /NImounts/NiNoSnapUsers/$USER:$NOSNAP:shared
- /NImounts/NiDev/apps/Linux/nixon/release:$NIXONHOME:shared
- /home/$USER:/home/$USER:shared
develop:
build:
context: .
args: { USER, USERID, GROUPID }
dockerfile: docker/develop/Dockerfile
image: docker.niartifactory.maninvestments.com/$USER/grail:develop
command: bash
user: $USER
environment: { NetAcro, NOSNAP, NIXONHOME, FREETDSCONF, LANG=en_US.UTF-8, CROWD_AUTH=true }
ports:
- 9200:9200
volumes:
- /NImounts/Common/data:$CommonData:shared
- /NImounts/NiNoSnapUsers/$USER:$NOSNAP:shared
- /NImounts/NiDev/apps/Linux/nixon/release:$NIXONHOME:shared
- /home/$USER:/home/$USER:shared
- ./:/grail:shared