-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.apps.yml
58 lines (54 loc) · 1.25 KB
/
docker-compose.apps.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
57
58
version: '3.1'
services:
squirrel_core:
build:
context: ./backend
dockerfile: ./Squirrel.Core/Dockerfile
args:
- PROJECT_PORT=5050
container_name: 'squirrel_core'
restart: on-failure
ports:
- "5050:5050"
volumes:
- logs:/app/Logs
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
ConnectionStrings__SquirrelCoreDBConnection: 'Server=sql_server;Database=SquirrelCoreDB;User ID=SA;Password=MySecretPassword!'
squirrel_notifier:
build:
context: ./backend
dockerfile: ./Squirrel.Notifier/Dockerfile
args:
- PROJECT_PORT=5070
container_name: 'squirrel_notifier'
restart: on-failure
ports:
- "5070:5070"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
squirrel_client:
depends_on:
- squirrel_core
- squirrel_notifier
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: 'squirrel_frontend'
restart: on-failure
ports:
- "4200:80"
networks:
- back
- front
networks:
back:
driver: bridge
front:
driver: bridge
volumes:
logs: