48 lines
No EOL
968 B
YAML
48 lines
No EOL
968 B
YAML
# Dynamic Development Stack
|
|
name: erp-platform
|
|
|
|
volumes:
|
|
pg:
|
|
mssql:
|
|
|
|
services:
|
|
redis:
|
|
image: redis:6
|
|
ports:
|
|
- 6379:6379
|
|
volumes:
|
|
- ./configs/redis.conf:/redis.conf
|
|
command: ["redis-server", "/redis.conf"]
|
|
cdn:
|
|
image: tozlu/http-server:latest
|
|
ports:
|
|
- 4005:8080
|
|
working_dir: /srv/http-server
|
|
volumes:
|
|
- ./data/cdn:/public
|
|
command: "/public -c10 --cors"
|
|
postgres:
|
|
image: postgres:17
|
|
profiles: ["postgres"]
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- pg:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=NvQp8s@l
|
|
- POSTGRES_USER=sa
|
|
- POSTGRES_DB=postgres
|
|
- TZ=UTC
|
|
- PGTZ=UTC
|
|
sql:
|
|
image: mcr.microsoft.com/mssql/server:2022-CU19-ubuntu-22.04
|
|
profiles: ["sql"]
|
|
user: root
|
|
environment:
|
|
- SA_PASSWORD=NvQp8s@l
|
|
- ACCEPT_EULA=Y
|
|
- MSSQL_PID=Web
|
|
ports:
|
|
- 1433:1433
|
|
volumes:
|
|
- mssql:/var/opt/mssql |