-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
40 lines (36 loc) · 933 Bytes
/
compose.yaml
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
services:
postgres:
image: 'postgres:latest'
container_name: postgres
environment:
- 'POSTGRES_DB=acm'
- 'POSTGRES_PASSWORD=acmheads'
- 'POSTGRES_USER=acmsecy'
ports:
- '5432:5432'
volumes:
- db-data:/var/lib/backup/data
networks:
- acm_network
backend:
image: 'pecacm/acm-website:1.1.11'
container_name: backend
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/acm
SPRING_DATASOURCE_USERNAME: acmsecy
SPRING_DATASOURCE_PASSWORD: acmheads
SPRING_MAIL_USERNAME: [email protected] # TODO : add email here
SPRING_MAIL_PASSWORD: Harsh2002# # TODO : add password here
ports:
- '8080:8080'
volumes:
- db-data:/var/lib/backup/dynamic
networks:
- acm_network
depends_on:
- postgres
volumes:
db-data:
networks:
acm_network:
driver: bridge