Skip to content

Commit

Permalink
Merge pull request inspirehep#2124 from david-caro/adapt_docker_to_no…
Browse files Browse the repository at this point in the history
…nroot

docker: adapt to non-root user
  • Loading branch information
david-caro authored May 24, 2017
2 parents 1427bc0 + eb17fef commit 576e20a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

version: '2'
version: '2.1'

services:
pip:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

version: '2'
version: '2.1'

services:
test-service_base:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

version: '2'
version: '2.1'

services:
service_base:
Expand Down
6 changes: 5 additions & 1 deletion services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

version: '2'
version: '2.1'

services:
base:
image: inspirehep/python-base
tty: true
environment:
- BASE_USER_UID=${BASE_USER_UID:-1000}
- BASE_USER_GIT=${BASE_USER_GIT:-1000}
indexer:
image: inspirehep/elasticsearch
command: elasticsearch -Dcluster.name="inspire" -Ddiscovery.zen.ping.multicast.enabled=false
Expand Down

0 comments on commit 576e20a

Please sign in to comment.