atmost working example
This commit is contained in:
33
compose.yaml
Normal file
33
compose.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
services:
|
||||
web.mongo:
|
||||
image: git.loyso.art/devsim:latest
|
||||
ports:
|
||||
- 9124:80
|
||||
depends_on:
|
||||
- postgres
|
||||
- mongo
|
||||
environment:
|
||||
DEVSIM_MONGO_DSN: mongodb://mongo
|
||||
DEVSIM_STORE_TYPE: mongo
|
||||
|
||||
web.pg:
|
||||
image: git.loyso.art/devsim:latest
|
||||
ports:
|
||||
- 9123:80
|
||||
depends_on:
|
||||
- postgres
|
||||
- mongo
|
||||
environment:
|
||||
DEVSIM_PG_DSN: "postgres://devsim:devsim@postgres:5432/devsim?sslmode=disable"
|
||||
DEVSIM_STORE_TYPE: pg
|
||||
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
environment:
|
||||
POSTGRES_DB: devsim
|
||||
POSTGRES_PASSWORD: devsim
|
||||
POSTGRES_USER: devsim
|
||||
ports: ["5432:5432"]
|
||||
|
||||
mongo:
|
||||
image: mongo:7
|
||||
Reference in New Issue
Block a user