Skip to content

Commit

Permalink
Updated docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
Trial97 authored and danbogos committed Mar 24, 2020
1 parent 81912cc commit 9b419f3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
5 changes: 1 addition & 4 deletions data/docker/scratch/cgr-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ services:
ports:
- 2012:2012
- 2080:2080
volumes:
- ../../conf/samples/docker/:/etc/cgrates/:ro
- ../../tariffplans/tutorial/:/data/:ro
environment:
- DOCKER_IP=0.0.0.0
command: /cgr-engine --logger=*stdout -httprof_path=/pprof
command: /cgr-engine --logger=*stdout -httprof_path=/pprof -config_path=https://raw.githubusercontent.com/cgrates/cgrates/master/data/conf/samples/docker/cgrates.json

redis:
image: redis
Expand Down
9 changes: 4 additions & 5 deletions data/docker/scratch/cgr-loader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ services:
cgr-loader:
image: dkr.cgrates.org/nightly/cgr-loader
container_name: cgr-loader
volumes:
- ../../conf/samples/docker/:/etc/cgrates/:ro
- ../../tariffplans/tutorial/:/data/:ro
environment:
- DOCKER_IP=cgr-engine
command: /cgr-loader -config_path=/etc/cgrates/ -path=/data/ -caches_address="conn1" -scheduler_address="conn1" -verbose
stdin_open: true
tty: true
command: /cgr-loader -config_path=https://raw.githubusercontent.com/cgrates/cgrates/master/data/conf/samples/docker/cgrates.json -path=https://raw.githubusercontent.com/cgrates/cgrates/master/data/tariffplans/tutorial/ -caches_address="conn1" -scheduler_address="conn1" -verbose
networks:
default:
external:
name: cgrates-net

# sudo docker-compose -f cgr-loader.yaml up
# sudo docker-compose -f cgr-loader.yaml run --rm cgr-loader
4 changes: 1 addition & 3 deletions data/docker/scratch/cgr-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ services:
cgr-migrator:
image: dkr.cgrates.org/nightly/cgr-migrator
container_name: cgr-migrator
volumes:
- ../../conf/samples/docker/:/etc/cgrates/:ro
environment:
- DOCKER_IP=cgr-engine
command: /cgr-migrator -config_path=/etc/cgrates/ --exec=*set_versions
command: /cgr-migrator -config_path=https://raw.githubusercontent.com/cgrates/cgrates/master/data/conf/samples/docker/cgrates.json --exec=*set_versions
networks:
default:
external:
Expand Down
4 changes: 1 addition & 3 deletions data/docker/scratch/cgr-tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ services:
cgr-tester:
image: dkr.cgrates.org/nightly/cgr-tester
container_name: cgr-tester
volumes:
- ../../conf/samples/docker/:/etc/cgrates/:ro
environment:
- DOCKER_IP=cgr-engine
command: /cgr-tester -config_path=/etc/cgrates/
command: /cgr-tester -config_path=https://raw.githubusercontent.com/cgrates/cgrates/master/data/conf/samples/docker/cgrates.json
networks:
default:
external:
Expand Down
2 changes: 2 additions & 0 deletions packages/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ cgrates (0.11.0~dev) UNRELEASED; urgency=medium
* [Migrator] Auto discover tenant from key instead of taking it from config
* [Templates] Fixed missing "*" for strip and pading strategy
* [DiameterAgent] Added RAR support
* [Loader] Added support to load CSV files from URL
* [Loader] Added configurable gapi_credentials

-- Alexandru Tripon <[email protected]> Wed, 19 Feb 2020 13:25:52 +0200

Expand Down

0 comments on commit 9b419f3

Please sign in to comment.