Commit fc3cc78248913edbc2862edb793bdb8293f5c7fd
1 parent
b849ecaad6
Exists in
master
and in
4 other branches
Move composer to its own docker-compose file
Composer only needs to run once before everything else is up.
Showing 3 changed files with 15 additions and 9 deletions
deploy.sh
View file @
fc3cc78
... | ... | @@ -16,7 +16,10 @@ |
16 | 16 | docker login https://registry.curex-project.eu:443/artifactory/curex-local/ |
17 | 17 | |
18 | 18 | # pull all containers |
19 | -docker-compose -f docker-compose-jfrog.yml pull | |
19 | +docker-compose \ | |
20 | + -f docker-compose-jfrog.yml \ | |
21 | + -f docker-compose-jfrog-composer.yml \ | |
22 | + pull | |
20 | 23 | |
21 | 24 | sleep 1 |
22 | 25 |
docker-compose-jfrog-composer.yml
View file @
fc3cc78
docker-compose-jfrog.yml
View file @
fc3cc78
... | ... | @@ -70,14 +70,6 @@ |
70 | 70 | - ./api:/var/www |
71 | 71 | - ./api/nginx/conf.d/:/etc/nginx/conf.d/ |
72 | 72 | |
73 | - composer: | |
74 | - restart: 'no' | |
75 | - image: registry.curex-project.eu:443/curex-local/kea_composer:2.0.7 | |
76 | - container_name: kea_composer | |
77 | - command: install | |
78 | - volumes: | |
79 | - - ./api:/app | |
80 | - | |
81 | 73 | api: |
82 | 74 | image: registry.curex-project.eu:443/curex-local/kea_api:1.0.1 |
83 | 75 | container_name: kea_api |