Terraform & run Docker compose as service


Need to fix terraform defect which replaces existing resource instead creating new.

Task 2

Create systemd service to run docker compose.

Recommend that the default the system.d configs be alongside the docker compose files.

The daeman can just start/stop docker compose on the system to start things up.

Acceptance Criteria

Want the application module, mongodb, and rabbitmq containers running on startup.

Create a service config that will run as a service and will run whole application on startup and have start/stop/restart/status as a daemon using system.d

Update the existing Jenkins deploy to:

Stop the service (if it exists)

Update prior service config, copying the version that is checked in.

Remove the containers

push the new containers

Start the new service

Skills: Docker, Linux

See more: docker compose run sql script, docker-compose up vs run, docker-compose run, docker compose run command, docker-compose push no such service, run docker compose file, docker compose service name convention, docker compose valid service name, azure app service docker compose, docker compose service name environment variable, docker compose run, google cloud run docker compose, docker compose run -- name, docker compose give service name, terraform-ecs docker-compose, docker-compose remove service, using docker-compose for python development, docker-compose dynamic service name, docker-compose optional service, unable to run docker-compose

About the Employer:
( 7 reviews ) Vadodara, Canada

Project ID: #28332093

Awarded to:


Hi there, I have over 10 years of work experience with Linux and Docker as well as terraform (since 0.6.16) I think I can help you with this. Ping me and I'll do so. Cheers mate.

$30 CAD in 7 days
(10 Reviews)

2 freelancers are bidding on average $115 for this job


hello, i'm sysadmin since 2016, i'm able to write you a script that can help you to start and stop your docker system.

$200 CAD in 5 days
(0 Reviews)