-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.07 KB
/
docker-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
version: '3.7'
services:
backend:
build:
context: ./spring-kotlin17/auth
dockerfile: Dockerfile
container_name: boilerplate-spring-kotlin
ports:
- "8080:8080"
restart: no
environment:
SERVER_PORT: 8080
SERVER_IP: postgres
POSTGRESQL_PORT: 5432
POSTGRESQL_DB: boilerplate
POSTGRESQL_SCHEMA: public
POSTGRESQL_USER: postgres
POSTGRESQL_PASSWORD: senocak
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: senocak
REDIS_TIMEOUT: 300
MAIL_HOST: smtp.yandex.com.tr
MAIL_PROTOCOL: smtp
MAIL_USERNAME: [email protected]
MAIL_PASSWORD: xsqgbadvvwxasyoq
APP_FRONTEND_URL: http://localhost:3232
networks:
- boilerplate
depends_on:
- postgres
- redis
frontend:
build:
context: ./react-ts
dockerfile: Dockerfile
container_name: boilerplate-react-typescript
ports:
- "3232:3232"
depends_on:
- backend
networks:
- boilerplate
networks:
boilerplate:
volumes:
db-data:
redis-data: