initial commit

This commit is contained in:
2025-01-26 14:00:27 +01:00
commit 39f757991a
20 changed files with 1554 additions and 0 deletions

33
docker/compose.dev.yml Normal file
View File

@@ -0,0 +1,33 @@
services:
db:
image: postgres:16-alpine
restart: unless-stopped
container_name: georm-backend-db
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
ports:
- 127.0.0.1:5432:5432
volumes:
- georm_backend_db_data:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:8
restart: unless-stopped
container_name: georm-backend-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@example.com
PGADMIN_DEFAULT_PASSWORD: password
PGADMIN_DISABLE_POSTFIX: true
PGADMIN_CONFIG_SERVER_MODE: 'False'
ports:
- 127.0.0.1:8080:80
volumes:
- georm_backend_pgadmin_data:/var/lib/pgadmin
depends_on:
- db
volumes:
georm_backend_db_data:
georm_backend_pgadmin_data:

14
docker/mod.just Normal file
View File

@@ -0,0 +1,14 @@
default: start
start:
docker compose -f compose.dev.yml up -d
stop:
docker compose -f compose.dev.yml down
logs:
docker compose -f compose.dev.yml logs -f
## Local Variables:
## mode: makefile
## End: