First, we will look at the contents of our atsea-db service repository. For the most part, the repository contains the contents from the database sub directory of the old atsea-app repository. There is, of course, one critical new addition—the .gitlab-ci.yml file:
atsea-db├── docker-entrypoint-initdb.d│ └── init-db.sql├── Dockerfile├── pg_hba.conf├── .gitlab-ci.yml└── postgresql.conf
There is a special convention within the GitLab source code control system related to CI pipeline file. When code is checked into the repository with a .gitlab-ci.yml file in the root of the repository, a pipeline is created based on the contents of this file.