forked from CodIN-INU/codin-ticketing-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathticketing-docker-compose.yml
More file actions
40 lines (37 loc) · 950 Bytes
/
ticketing-docker-compose.yml
File metadata and controls
40 lines (37 loc) · 950 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
40
version: '3.8'
services:
codin-ticketing-api:
image: codin-ticketing-api:latest
container_name: codin-ticketing-api
restart: unless-stopped
env_file:
- .env
environment:
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_PORT: ${MYSQL_PORT}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
SERVER_PORT: ${SERVER_PORT}
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
networks:
- codin-docker_default
codin-ticketing-sse:
image: codin-ticketing-sse:latest
container_name: codin-ticketing-sse
restart: unless-stopped
env_file:
- .env
environment:
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_PORT: ${MYSQL_PORT}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
SERVER_PORT: ${SSE_SERVER_PORT}
ports:
- "${SSE_SERVER_PORT}:${SSE_SERVER_PORT}"
networks:
- codin-docker_default
networks:
codin-docker_default:
external: true