-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 1005 Bytes
/
docker-compose.yml
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
version: "3"
services:
prisma:
image: prismagraphql/prisma:1.15
container_name: "${PROJECT_NAME}-prisma-server"
restart: always
ports:
- "${PRISMA_PORT}:4466"
environment:
PRISMA_CONFIG: |
managementApiSecret: "${PRISMA_MANAGEMENT_API_SECRET}"
port: 4466
databases:
default:
connector: postgres
host: postgres
port: 5432
user: "${DB_USER}"
password: "${DB_PASSWORD}"
migrations: true
adminer:
image: hardware/adminer
container_name: "${PROJECT_NAME}-adminer"
restart: always
ports:
- "${ADMINER_PORT}:8888"
volumes:
- ./adminer.css:/adminer/adminer.css
postgres:
image: postgres
container_name: "${PROJECT_NAME}-postgres-server"
restart: always
environment:
POSTGRES_USER: "${DB_USER}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
volumes:
- postgres:/var/lib/postgresql/data
volumes:
? postgres