-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
48 lines (43 loc) · 1.11 KB
/
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
42
43
44
45
46
47
48
version: '3.8'
services:
postgres:
image: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
networks:
- postgres
pgadmin:
image: dpage/pgadmin4
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
PGADMIN_DEFAULT_EMAIL: "pgadmin4@pgadmin.org"
PGADMIN_DEFAULT_PASSWORD: "admin"
PGADMIN_CONFIG_SERVER_MODE: 'False'
PGADMIN_LISTEN_PORT: 5050
volumes:
- ./pgadmindata:/root/.pgadmin
ports:
- 5050:5050
networks:
- postgres
vertx-app:
image: vertx-app:latest
# build: ./build/libs/
# command: java -jar CS386-1.0.0-SNAPSHOT-fat.jar
ports:
- 8888:8888
networks:
- postgres
networks:
postgres:
driver: bridge
volumes:
postgres:
pgadmindata: