-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
56 lines (52 loc) · 1.13 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
49
50
51
52
53
54
55
56
version: '3.9'
services:
# Spring Boot App
avoristech-app:
container_name: avoristech-app-java
build:
context: .
dockerfile: Dockerfile
platform: linux/amd64
environment:
DB_USER: postgres
DB_PASS: 12345
DB_HOST: avoristech-db
DB_PORT: 5432
DB_NAME: avoristech
ports:
- "8080:8080"
depends_on:
- avoristech-db
networks:
- avoristech
# Database
avoristech-db:
container_name: avoristech-app-db-postgres
image: postgres
restart: unless-stopped
ports:
- "54320:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 12345
POSTGRES_DB: avoristech
networks:
- avoristech
# Management Database
avoristech-pgadmin:
container_name: avoristech-app-pgadmin
image: dpage/pgadmin4
restart: unless-stopped
depends_on:
- avoristech-db
ports:
- "8081:80"
environment:
PGADMIN_DEFAULT_EMAIL: '[email protected]'
PGADMIN_DEFAULT_PASSWORD: 12345
networks:
- avoristech
networks:
# Avoristech Network
avoristech:
name: avoristech-network