-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 951 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (33 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2025-latest
container_name: sql-event-store
hostname: sqlserver
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "EventStore!2025"
MSSQL_PID: "Developer"
volumes:
- sqlserver_data:/var/opt/mssql
- ./sql-server-event-store.ddl:/init/sql-server-event-store.ddl:ro
- ./init-sql-server.sh:/init/init-sql-server.sh:ro
entrypoint: /bin/bash /init/init-sql-server.sh
postgres:
image: postgres:18
container_name: pg-event-store
environment:
POSTGRES_DB: eventstore
POSTGRES_USER: postgres
POSTGRES_PASSWORD: EventStore!pg
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/data
- ./postgres-event-store.ddl:/docker-entrypoint-initdb.d/postgres-event-store.sql:ro
volumes:
sqlserver_data:
driver: local
pg_data:
driver: local