forked from Ericsson/codechecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.psql.auth.yml
More file actions
45 lines (40 loc) · 863 Bytes
/
docker-compose.psql.auth.yml
File metadata and controls
45 lines (40 loc) · 863 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
42
43
44
45
version: '3.5'
services:
db:
image: postgres:12.2-alpine
volumes:
- database:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres-passwd
- POSTGRES_USER=$USER
- POSTGRES_DB=config
secrets:
- postgres-passwd
networks:
- codechecker
codechecker:
image: codechecker/codechecker-web:latest
ports:
- 8001:8001
volumes:
- workspace:/workspace
command: >
CodeChecker server
--workspace /workspace
--postgresql --dbaddress db --dbport 5432 --dbusername $USER
--not-host-only
secrets:
- pgpass
networks:
- codechecker
secrets:
postgres-passwd:
file: ./secrets/postgres-passwd
pgpass:
file: ./secrets/pgpass
networks:
codechecker:
driver: bridge
volumes:
database:
workspace: