-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
42 lines (36 loc) · 897 Bytes
/
docker-compose.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
39
40
41
42
version: '3.1'
services:
hillel-trip-planner:
build: .
ports:
- "8090:8090"
environment:
MYSQL_PASSWORD: password
MYSQL_DRIVER: "com.mysql.cj.jdbc.Driver"
MYSQL_URL: "jdbc:mysql://db:3306/tripplannerdb"
MYSQL_USER: root
AUTH_ERROR_REDIRECT_URL: <url>
AUTH_SUCCESS_REDIRECT_URL: <url>
GOOGLE_CLIENT_ID: <url>
GOOGLE_CLIENT_SECRET: <url>
GOOGLE_TOKEN_URL: https://oauth2.googleapis.com/token
GOOGLE_AUTH_GRANT_TYPE: <grant>
GOOGLE_REDIRECT_URL: <url>
JWT_SECRET: <url>
depends_on:
- db
db:
platform: linux/x86_64
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'
MYSQL_ROOT_PASSWORD: 'password'
ports:
- '3306:3306'
volumes:
- my-db:/var/lib/mysql
volumes:
my-db: