-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
67 lines (66 loc) · 1.59 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: logistisen
services:
logistisen_db:
image: 'postgres:16'
container_name: logistisen_db_container
networks:
- logistisen_network
volumes:
- ./db_init:/docker-entrypoint-initdb.d
environment:
- 'POSTGRES_DB=logistisen_db'
- 'POSTGRES_PASSWORD=postgres'
- 'POSTGRES_USER=postgres'
ports:
- '5432:5432'
api_auth:
build:
context: API_Authentication
dockerfile: Dockerfile
container_name: API_Authentication
networks:
- logistisen_network
environment:
- 'SECRET_KEY=c3Q2PO9y0XjN6Twk5u1MSyVIVpTlYRi5'
- 'BYPASS_TOKEN=v2Fq5EoogcM0F7L2dtvZ9KZNaYpdfdx7'
ports:
- "5050:5050"
depends_on:
- logistisen_db
volumes:
- ./API_Authentication:/API_Authentication:ro
api_stock:
build:
context: API_Stock
dockerfile: Dockerfile
container_name: API_Stock
networks:
- logistisen_network
environment:
- 'SECRET_KEY=c3Q2PO9y0XjN6Twk5u1MSyVIVpTlYRi5'
- 'BYPASS_TOKEN=v2Fq5EoogcM0F7L2dtvZ9KZNaYpdfdx7'
ports:
- "8000:8000"
depends_on:
- logistisen_db
volumes:
- ./API_Stock:/API_Stock:ro
api_event:
build:
context: API_Event
dockerfile: Dockerfile
container_name: API_Event
networks:
- logistisen_network
environment:
- 'SECRET_KEY=c3Q2PO9y0XjN6Twk5u1MSyVIVpTlYRi5'
- 'BYPASS_TOKEN=v2Fq5EoogcM0F7L2dtvZ9KZNaYpdfdx7'
ports:
- "5000:5000"
depends_on:
- logistisen_db
volumes:
- ./API_Event:/API_Event:ro
networks:
logistisen_network:
driver: bridge