File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
22 postgres-database :
3- image : ' postgres:latest '
3+ image : ' postgres:15 '
44 container_name : postgres-database
55 environment :
6- - ' POSTGRES_DB=acm'
7- - ' POSTGRES_PASSWORD=acmheads '
8- - ' POSTGRES_USER=acmsecy '
6+ - POSTGRES_DB=acm
7+ - POSTGRES_USER=acmsecy
8+ - POSTGRES_PASSWORD=acmheads
99 ports :
10- - ' 5432:5432'
10+ - " 5432:5432"
1111 volumes :
12- - db-data:/var/lib/backup/data
12+ - db-data:/var/lib/postgresql/data
13+
14+ backend :
15+ image : pecacm/acm-website:1.1.12
16+ container_name : acm-backend
17+ environment :
18+ - POSTGRESQL_DB_URL=jdbc:postgresql://postgres-database:5432/acm
19+ - POSTGRESQL_DB_USER=acmsecy
20+ - POSTGRESQL_DB_PASSWORD=acmheads
21+ - SMTP_EMAIL=youremail@gmail.com
22+ - SMTP_PASSWORD=yourpassword
23+ ports :
24+ - " 8080:8080"
25+ depends_on :
26+ - postgres-database
1327
1428volumes :
15- db-data:
29+ db-data :
You can’t perform that action at this time.
0 commit comments