-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 870 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 870 Bytes
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
version: '3.4'
services:
app:
image: supplier
container_name: app
restart: always
build:
context: .
dockerfile: ./Dockerfile
ports:
- 5000:5000
- 5001:5001
environment:
DB_HOST: "" # WILL BE UPDATED
DB_NAME: "" # WILL BE UPDATED
DB_USER: "" # WILL BE UPDATED
DB_PASS: "" # WILL BE UPDATED
depends_on:
- database
networks:
- supplier
database:
image: "mysql:8.0.28"
container_name: database
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- 33060:3306
environment:
MYSQL_DATABASE: "" # WILL BE UPDATED
MYSQL_ROOT_PASSWORD: "" # WILL BE UPDATED
networks:
- supplier
networks:
supplier:
driver: bridge