Migrate to using a new version of docker-compose.
This commit is contained in:
parent
cd10464801
commit
819680aac0
|
@ -50,7 +50,6 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
docker tag rookeries:build dorianpula/rookeries:latest
|
|
||||||
docker push dorianpula/rookeries:latest
|
docker push dorianpula/rookeries:latest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ build-git-tag:
|
||||||
|
|
||||||
# Build the API image
|
# Build the API image
|
||||||
build: build-git-tag
|
build: build-git-tag
|
||||||
docker build --tag rookeries:build .
|
docker-compose build rookeries
|
||||||
|
|
||||||
# Runs all the tests
|
# Runs all the tests
|
||||||
test: build test-api test-webapp
|
test: build test-api test-webapp
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
rookeries:
|
version: "2"
|
||||||
image: rookeries:build
|
services:
|
||||||
ports:
|
|
||||||
- "5000:5000"
|
|
||||||
environment:
|
|
||||||
- ROOKERIES_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://admin:password@db:5432/rookeries
|
|
||||||
- ROOKERIES_JWT_SECRET_KEY=problematic_penguins
|
|
||||||
- ROOKERIES_DEFAULT_SITE=9eebecdc-8246-4b3a-9c57-86ee50c0ae75
|
|
||||||
links:
|
|
||||||
- db
|
|
||||||
|
|
||||||
db:
|
rookeries:
|
||||||
image: postgres:9.6
|
build: .
|
||||||
environment:
|
image: dorianpula/rookeries:latest
|
||||||
- POSTGRES_USER=admin
|
ports:
|
||||||
- POSTGRES_PASSWORD=password
|
- "5000:5000"
|
||||||
- POSTGRES_DB=rookeries
|
environment:
|
||||||
|
- ROOKERIES_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://admin:password@db:5432/rookeries
|
||||||
|
- ROOKERIES_JWT_SECRET_KEY=problematic_penguins
|
||||||
|
- ROOKERIES_DEFAULT_SITE=9eebecdc-8246-4b3a-9c57-86ee50c0ae75
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:9.6
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=admin
|
||||||
|
- POSTGRES_PASSWORD=password
|
||||||
|
- POSTGRES_DB=rookeries
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
* :support:`0` Migrate to using the newer CircleCI 2.0 build system.
|
||||||
* :feature:`38` Re-architecture Rookeries into a single container application to simplify deployment.
|
* :feature:`38` Re-architecture Rookeries into a single container application to simplify deployment.
|
||||||
* :feature:`37` Add support for database migrations using Alembic and Flask-Alembic.
|
* :feature:`37` Add support for database migrations using Alembic and Flask-Alembic.
|
||||||
* :bug:`35` Resolve crash caused by posting to `/api/user/` with an existing user's username.
|
* :bug:`35` Resolve crash caused by posting to `/api/user/` with an existing user's username.
|
||||||
* :support:`36` Change workflow to publish new Docker images to Docker Hub via CircleCI.
|
* :support:`36` Change workflow to publish new Docker images to Docker Hub via CircleCI.
|
||||||
|
|
||||||
* :release:`0.6.1 <2017-03-07>`
|
* :release:`0.6.1 <2017-03-07>`
|
||||||
* :support:`0` Release to properly update a
|
* :support:`0` Release to properly show the git revisions in the status endpoint.
|
||||||
* :support:`34` Add git revision to the status endpoint to enable easier tracking.
|
* :support:`34` Add git revision to the status endpoint to enable easier tracking.
|
||||||
|
|
||||||
* :release:`0.6.0 <2017-03-07>`
|
* :release:`0.6.0 <2017-03-07>`
|
||||||
|
|
Loading…
Reference in New Issue