-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
18 lines (17 loc) · 966 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# The docker-compose.yml file describes the services that make your app. The compose file also describes which
# Docker images these services use, how they link together, any volumes they might need to be mounted inside the
# containers. Finally, the docker-compose.yml file describes which ports these services expose. See the
# docker-compose.yml reference for more information on how this file works. Refer to
# https://docs.docker.com/compose/ for details
version: "3.7"
services: # Each service of the docker-compose is a container that will be built (to be reviewed).
app:
build: . # Run the Dockerfile that is in the current folder (`docker build .`)
ports: # Ports to be exposed
- "${SENG365_PORT}:4941"
environment:
- SENG365_MYSQL_HOST
- SENG365_MYSQL_USER
- SENG365_MYSQL_PASSWORD
- SENG365_MYSQL_DATABASE
restart: on-failure