initial import

This commit is contained in:
2023-12-27 15:45:49 +01:00
commit c0b7458bf7
20 changed files with 7918 additions and 0 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
# this compose file runs Postgres db and exposes it's port to the host machine
version: "3.7"
volumes:
postgres:
pgadmin:
services:
db:
image: postgres:16.1-alpine
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: dashboard
ports:
- 5432:5432
volumes:
# store postgres data in a local `postgres` directory
- postgres:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:8.1
environment:
PGADMIN_DEFAULT_EMAIL: admin@example.com
PGADMIN_DEFAULT_PASSWORD: SuperSecret
PGADMIN_LISTEN_PORT: 80
ports:
- 8080:80
volumes:
- pgadmin:/var/lib/pgadmin
depends_on:
- db