-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.15 KB
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
services:
client:
image: ghcr.io/wms-dev/isusosdown-client:latest
restart: always
build:
context: ./client
dockerfile: Dockerfile
args:
- REACT_APP_SENTRY_DSN=${CLIENT_SENTRY_DSN}
- REACT_APP_BACKEND_URL=${REACT_APP_BACKEND_URL}
ports:
- "3000:3000"
server:
image: ghcr.io/wms-dev/isusosdown-server:latest
restart: unless-stopped
build:
context: ./service
dockerfile: Dockerfile
environment:
- SERVICE_DB_URL=${SERVICE_DB_URL}
- SERVICE_DB_LOGIN=${SERVICE_DB_LOGIN}
- SERVICE_DB_PASSWORD=${SERVICE_DB_PASSWORD}
- SERVICE_SENTRY_DSN=${SERVICE_SENTRY_DSN}
ports:
- "8080:8080"
depends_on:
- mysqldb
mysqldb:
build:
context: ./service/db
dockerfile: Dockerfile
environment:
MYSQL_ROOT_PASSWORD: ${SERVICE_DB_PASSWORD}
MYSQL_USER: ${SERVICE_DB_LOGIN}
MYSQL_PASSWORD: ${SERVICE_DB_PASSWORD}
MYSQL_DATABASE: ${SERVICE_DB_NAME}
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
volumes:
mysql-data:
networks:
default:
name: isusosdown-network
external: true