This docker-compose was created to help local development firing up the latest PostgreSQL image and PgAdmin4 and ecs-local-network. It was based on this repository and changed for my needs.
Rename the file .env-example
to .env
and change the values for your case.
To build and run the image just execute:
docker-compose up
If you want to run them in background just add the --detach flag
docker-compose up -d
If you don't have ecs-local-network you can create by using the following command:
docker network create ecs-local-network
Or you can change the docker-compose file to use you own network driver
...
networks:
ecs-local-network: null
...
networks:
ecs-local-network:
external: true