-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yml
38 lines (36 loc) · 1.05 KB
/
docker-compose.local.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
version: "3.7"
services:
skillink-backend:
container_name: backend
build:
context: ./backend/
args:
- MYSQL_HOST=${MYSQL_HOST}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DB=${MYSQL_DB}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- MYSQL_CHARSET=${MYSQL_CHARSET}
- OPENAI_API_ORG=${OPENAI_API_ORG}
- WANTED_ENDPOINT=${WANTED_ENDPOINT}
- WANTED_ID=${WANTED_ID}
- WANTED_SECRET=${WANTED_SECRET}
dockerfile: Dockerfile
restart: always
networks:
- skillink-network
skillink-frontend:
depends_on:
- skillink-backend
container_name: frontend
build:
context: ./frontend/
dockerfile: Dockerfile
ports:
- "80:80"
restart: always
networks:
- skillink-network
networks:
skillink-network:
driver: bridge