diff options
| author | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-10-20 21:06:44 -0300 |
|---|---|---|
| committer | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-10-20 21:06:44 -0300 |
| commit | 370d3014ebf95e0c422a3ea2b39d568d66eb326e (patch) | |
| tree | b008bca11ca270ec461051b9bc6a5c9c39a9cc9f /compose.yaml | |
| parent | ea698a5c77702684fbebf89db9ba6f8071f2df5b (diff) | |
Postgres Conteiner Settings
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml index db32d4c..21f3cea 100644 --- a/compose.yaml +++ b/compose.yaml @@ -30,5 +30,29 @@ services: depends_on: - mosquitto + + postgres: + image: postgres:13 + container_name: postgres + ports: + - 5432:5432 + environment: + POSTGRES_PASSWORD: public + POSTGRES_USER: root + POSTGRES_DB: control_station + volumes: + - $PWD/database/create-table.sql:/docker-entrypoint-initdb.d/init.sql + + + pgadmin: + image: dpage/pgadmin4 + container_name: pgadmin + environment: + - PGADMIN_DEFAULT_EMAIL=admin@admin.com + - PGADMIN_DEFAULT_PASSWORD=admin + ports: + - "5050:80" + depends_on: + - postgres networks: mosquitto: |
