-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 1.17 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
---
version: '3.7'
services:
mysql:
image: mysql:8.0.28
restart: always
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: 'wichacks'
MYSQL_USER: 'sir_hacksalot'
MYSQL_PASSWORD: 'hallie-i-promise-i-know-a-couple-security-things'
MYSQL_ROOT_PASSWORD: 'but-today-is-not-the-day-for-good-security'
volumes:
- ./mysql-data:/var/lib/mysql
- ./mysqlStartupScripts/createMigrationTable.sql:/docker-entrypoint-initdb.d/0_init.sql
api:
image: wichacks-api:latest
restart: always
ports:
- "5001:5000"
environment:
AUTH0_DOMAIN: 'wichacks.us.auth0.com'
DBNAME: 'wichacks'
AUTH0_CLIENT_ID: 'oTpWdnroYxfqQrprklhfXTGxIK5Vn8Df'
AWS_DEFAULT_REGION: 'us-east-1'
ENV: 'DEV'
volumes:
- ~/.aws:/root/.aws:ro
ui:
image: wichacks-ui:latest
restart: always
ports:
- "80:3000"
# Comment out Load Balancer for now
# load-balancer:
# build: ./loadBalancer
# ports:
# - "80:80"
# restart: always