chore: Initial import of FLEX training material
This commit is contained in:
parent
c01246d4f7
commit
12235acc42
1020 changed files with 53940 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
FROM postgres:16.2
|
||||
ENV POSTGRES_USER=flexinale \
|
||||
POSTGRES_PASSWORD=flexinale \
|
||||
PGDATA=/var/lib/postgresql/data/pgdata
|
||||
COPY ./flexinale-postgres-init.sql /docker-entrypoint-initdb.d/
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
CREATE DATABASE "monolith";
|
||||
GRANT ALL PRIVILEGES ON DATABASE monolith TO flexinale;
|
||||
|
||||
CREATE DATABASE "modulith-1";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "modulith-1" TO flexinale;
|
||||
|
||||
CREATE DATABASE "modulith-2";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "modulith-2" TO flexinale;
|
||||
|
||||
CREATE DATABASE "distributed-backoffice";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "distributed-backoffice" TO flexinale;
|
||||
CREATE DATABASE "distributed-besucherportal";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "distributed-besucherportal" TO flexinale;
|
||||
CREATE DATABASE "distributed-ticketing";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "distributed-ticketing" TO flexinale;
|
||||
CREATE DATABASE "distributed-test";
|
||||
GRANT ALL PRIVILEGES ON DATABASE "distributed-test" TO flexinale;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-postgres:
|
||||
image: de.accso/flexinale-postgres:2024.3.0
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- flexinale-network
|
||||
|
|
@ -0,0 +1 @@
|
|||
podman build --tag de.accso/flexinale-postgres:2024.3.0 -f Dockerfile .
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
podman run ^
|
||||
--interactive --tty --detach ^
|
||||
-p 127.0.0.1:5432:5432 ^
|
||||
--name flexinale-postgres ^
|
||||
de.accso/flexinale-postgres:2024.3.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue