Start containers specified in a docker-compose file.
The username used for login to Docker Hub.
The access token used for login to Docker Hub. This is required if
docker-hub-username
was set.
The access key used for login to Amazon Elastic Container Registry (Amazon ECR).
The secret access key used for login to Amazon ECR. This is required if
aws-access-key-id
was set.
The AWS region where the Amazon ECR is located. Uses eu-west-1
by default.
The id of the AWS account where the Amazon ECR is located. Usually the
tooling account's id. This is required if aws-access-key-id
was set.
A list of containers to start before building the primary container.
The name of the database to create in the PostgreSQL container. The
container must be named db
.
Optional Runs docker-compose run web migrate
if set to true
Optional Specifies the working directory where the commands are run.
uses: aexeagmbh/gh-actions-docker-compose-up@main
with:
docker-hub-username: foo
docker-hub-access-token: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
service-containers: db redis
db-name: bar
working-directory: ./baz
uses: aexeagmbh/gh-actions-docker-compose-up@main
with:
aws-access-key-id: AKIAIOSFODNN7EXAMPLE
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-account-id: 111122223333
service-containers: db redis
db-name: bar
working-directory: ./baz