-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 856 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 856 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
version: '3.1'
services:
postgres:
image: postgres:14.1-bullseye
restart: always
environment:
POSTGRES_DB: test-PROJECT_NAME
POSTGRES_USER: user
POSTGRES_PASSWORD: composePASSWORD
ports:
- "5431:5432"
volumes:
- pgdata:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:3.9-management
restart: always
environment:
RABBITMQ_DEFAULT_USER: user
RABBITMQ_DEFAULT_PASS: user
ports:
- 5672:5672
- 15672:15672
# web:
# build: .
# command: bash -c "npm run migration-up; npm run start"
# volumes:
# - .:/opt/PROJECT_NAME
# ports:
# - "3000:3000"
# depends_on:
# - postgres
# environment:
# DATABASE_URL: postgresql://user:composePASSWORD@postgres/test-PROJECT_NAME
# NODE_ENV: development
volumes:
pgdata: