forked from SpongePowered/Ore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
44 lines (42 loc) · 928 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
43
44
version: "3.3"
volumes:
ore-db:
uploads:
services:
db:
environment:
POSTGRES_USER: oredb
POSTGRES_PASSWORD: oredb
POSTGRES_DB: oredb
build:
context: .
dockerfile: pgDockerfile
volumes:
- ore-db:/var/lib/postgresql/data
networks:
- web
app:
build: .
ports:
- "9000:9000"
stdin_open: true
environment:
BASE_URL: "http://localhost:9000"
APPLICATION_SECRET: "secretkey"
ORE_DEBUG: "false"
ORE_STAGE: "false"
JDBC_DATABASE_URL: "jdbc:postgresql://db/oredb"
JDBC_DATABASE_USERNAME: "oredb"
JDBC_DATABASE_PASSWORD: "oredb"
ORE_AUTH_URL: "http://localhost:8000"
ORE_AUTH_API_KEY: "changeme"
ORE_AUTH_SSO_SECRET: "changeme"
ORE_AUTH_SSO_API_KEY: "changeme"
depends_on:
- "db"
volumes:
- uploads:/home/ore/prod/uploads
networks:
- web
networks:
web: