Public Repository

Last pushed: 7 months ago
Short Description
Automated deployment agent to install on your servers.
Full Description

Automated deployment agent to install on your servers.
It manages automated deployment workflows based on webhooks for your projects.

Dockerfile

You can find the Dockerfile in our github repository

Tags

The latest tag should always have the latest stable version of the agent.
There are also tags corresponding to each release version of the format vX.Y.Z, e.g. v0.1.2.

Usage

This container is a light Linux PHP 7.0-apache stack with our deploy-agent embedded.
You can use it through docker run command through docker-compose as a service.

The important part of setup is related to the volumes in which the deploy-agent will store it's database, the application packages and the deployed applications.

Volume

  • data/db : To store the deploy agent's SQLite database ( optionnal )
  • data/packages : To store build packages

And another volume free of your choice where the applications will be deployed. You must then specify this volume mount point during the application registration process in the Agent.

If you configured the data/db volume without having an existing database, you will need to run the following script :

$ docker exec MY_CONTAINER /bin/sh -c 'cd /var/app && scripts/post-create-project'

Docker-compose ( Example )

version: '2'

services:
    cphp-deploy-agent:
        image: continuous/deploy-agent:latest
        ports: 
            - 8080:80
        volumes:
            - ./db:/var/app/data/db
            - ./logs:/var/app/data/logs
            - ./packages:/var/app/data/packages
            - ./myApplication:/mnt/applications/blueprint-cphp

Source code

Source code is available in the related Github repository:
https://github.com/continuousphp/deploy-agent/.

Issues

should be reported on the Github issues page.

Docker Pull Command
Owner
continuous

Comments (0)