-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 1.25 KB
/
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
43
version: '3.8'
services:
mini-games-dev-server:
build:
dockerfile: ./Dockerfile
context: .
args:
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
JDBC_DATABASE_URL: ${JDBC_DATABASE_URL}
JDBC_DRIVER: ${JDBC_DRIVER}
HOST: ${HOST}
PORT: ${PORT}
FORCE_HTTPS: ${FORCE_HTTPS}
JWT_REALM: ${JWT_REALM}
JWT_SECRET: ${JWT_SECRET}
JWT_AUDIENCE: ${JWT_AUDIENCE}
JWT_ISSUER: ${JWT_ISSUER}
EMAIL_HOST: ${EMAIL_HOST}
EMAIL_PORT: ${EMAIL_PORT}
EMAIL_USERNAME: ${EMAIL_USERNAME}
EMAIL_PASSWORD: ${EMAIL_PASSWORD}
REQUIRE_EMAIL_VERIFY: ${REQUIRE_EMAIL_VERIFY}
SCHEME_EMAIL_VERIFY: ${SCHEME_EMAIL_VERIFY}
HOST_EMAIL_VERIFY: ${HOST_EMAIL_VERIFY}
CORS_PORT: ${CORS_PORT}
CORS_HOST: ${CORS_HOST}
CORS_SCHEME: ${CORS_SCHEME}
ports:
- "${PORT}:${PORT}"
mini-games-dev-postgres:
image: postgres:alpine3.14
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- "${POSTGRES_PORT}:${POSTGRES_PORT}"