-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 794 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (31 loc) · 794 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
version: "3"
services:
my-pokemon-db:
image: postgres:15-alpine
container_name: my-pokemon-db
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: my-pokemon-dev
PGDATA: /data/postgres
volumes:
- my-pokemon-db:/data/postgres
ports:
- "127.0.0.1:5434:5432"
restart: on-failure
my-pokemon-test-db:
image: postgres:15-alpine
container_name: my-pokemon-integration-db
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: my-pokemon-integration-dev
PGDATA: /data/postgres
volumes:
- my-pokemon-integration-db:/data/postgres
ports:
- "127.0.0.1:5435:5432"
restart: on-failure
volumes:
my-pokemon-db:
my-pokemon-integration-db: