-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (30 loc) · 919 Bytes
/
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
version: "3.4"
services:
bankoftime-frontend:
container_name: bankoftime-frontend
image: docker.io/marekkawalski/bankoftime-frontend:latest
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
bankoftime-backend:
container_name: bankoftime-backend
image: docker.io/marekkawalski/bankoftime-backend:latest
build:
context: ./backend/BankOfTime
dockerfile: Dockerfile
environment:
- spring.datasource.url=jdbc:sqlserver://localhost:1433;Server=bankoftime-db;databaseName=BankOfTime;encrypt=true;trustServerCertificate=true;Integrated Security=false
ports:
- "8080:8080"
depends_on:
- bankoftime-db
bankoftime-db:
container_name: bankoftime-db
image: "mcr.microsoft.com/mssql/server:latest"
environment:
MSSQL_SA_PASSWORD: "Password123!"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"