diff options
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: |
