Skip to content

Commit

Permalink
Merge pull request #3 from opexdev/dev
Browse files Browse the repository at this point in the history
Release v1.0.0-beta.1
  • Loading branch information
ebrahimmfadae authored May 21, 2022
2 parents ad2020f + 6eb6300 commit 89a3c66
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline {
sh 'cp -f $PREFERENCES_YML ./preferences.yml'
}
sh 'docker stack deploy -c docker-stack.yml -c docker-stack.override.yml demo-opex'
sh 'docker service update demo-opex_nginx -d'
sh 'docker service update demo-opex_nginx -d --force'
sh 'docker image prune -f'
sh 'docker network prune -f'
}
Expand Down
2 changes: 1 addition & 1 deletion dev.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline {
sh 'cp -f $PREFERENCES_YML ./preferences.yml'
}
sh 'docker stack deploy -c docker-stack.yml -c docker-stack.dev.yml dev-opex'
sh 'docker service update dev-opex_nginx -d'
sh 'docker service update dev-opex_nginx -d --force'
sh 'docker image prune -f'
sh 'docker network prune -f'
}
Expand Down
2 changes: 2 additions & 0 deletions docker-stack.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ services:
- "8443:443"
web-app:
image: ghcr.io/opexdev/web-app:dev
admin-panel:
image: ghcr.io/opexdev/admin-panel:dev
2 changes: 2 additions & 0 deletions docker-stack.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,5 @@ services:
- "443:443"
web-app:
image: ghcr.io/opexdev/web-app:latest
admin-panel:
image: ghcr.io/opexdev/admin-panel:latest
12 changes: 12 additions & 0 deletions docker-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,18 @@ services:
deploy:
restart_policy:
condition: on-failure
admin-panel:
image: ghcr.io/opexdev/admin-panel
environment:
- API_BASE_URL=$API_BASE_URL
- FRONT_URL=$ADMIN_FRONT_URL
- CLIENT_ID=$ADMIN_CLIENT_ID
- CLIENT_SECRET=$ADMIN_CLIENT_SECRET
networks:
- default
deploy:
restart_policy:
condition: on-failure
volumes:
www:
zookeeper-data:
Expand Down

0 comments on commit 89a3c66

Please sign in to comment.