-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
41 lines (39 loc) · 883 Bytes
/
docker-compose.dev.yml
File metadata and controls
41 lines (39 loc) · 883 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
36
37
38
39
40
41
services:
sqs:
build:
context: ./
dockerfile: Dockerfile
args:
DATABASE_URL: ${DATABASE_URL}
container_name: ghetto-sqs
restart: unless-stopped
environment:
LOG_LEVEL: ${LOG_LEVEL}
PORT: ${PORT}
env_file:
- .env.dev
command: >
bash -c 'npx prisma db push && npm start'
networks:
gsqs-host-access:
aliases:
- sqs
mongo-host-access: {}
swagger:
container_name: ghetto-sqs-swagger
image: swaggerapi/swagger-ui
restart: unless-stopped
ports:
- '8080:8080'
volumes:
- ./openapi/openapi.yaml:/openapi.yaml:ro
environment:
SWAGGER_JSON: /openapi.yaml
DEFAULT_MODEL_RENDERING: model
networks:
gsqs-host-access:
name: gsqs-host-access
driver: bridge
mongo-host-access:
external: true
name: mongo-host-access