-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
59 lines (58 loc) · 1.87 KB
/
docker-compose.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
version: "3"
services:
mantleplace:
image: assetmantle/mantleplace:edge
build:
context: .
dockerfile: Dockerfile
container_name: mantleplace
entrypoint: /bin/bash
command:
- -cx
- |
apt update
apt install -y postgresql-client
PGPASSWORD=postgres psql "host=postgres user=postgres" </mantleplace/conf/evolutions/default/0.sql
apt remove -y postgresql-client
/mantleplace/bin/mantleplace
environment:
- SITE_URL=
- AMAZON_S3_ACCESS_KEY_ID=
- AMAZON_S3_BUCKET_NAME=
- AMAZON_S3_REGION=
- AMAZON_S3_SECRET_KEY=
- APPLICATION_SECRET=
- COLLECTION_PATH=/collections
- IPFS_DOWNLOAD_END_POINT=https://settingsPage-assetmantle.mypinata.cloud/ipfs
- IPFS_JWT=
- IPFS_UPLOAD_END_POINT=https://api.pinata.cloud/pinning/pinFileToIPFS
- POSTGRES_ROOT_USERNAME=postgres
- POSTGRES_ROOT_PASSWORD=postgres
- POSTGRES_DB=mantlePlace
- POSTGRES_PASSWORD=mantlePlace
- POSTGRES_URL=postgres:5432
- POSTGRES_USER=mantlePlace
- ROOT_FILE_PATH=/
- JAVA_OPTS=-Xms1000m -XX:MaxRAMPercentage=30.00 -XX:+UnlockExperimentalVMOptions -XX:+UseContainerSupport -XX:+ParallelRefProcEnabled -XX:+UseG1GC -XX:+DisableExplicitGC -XX:G1NewSizePercent=50 -XX:+UseStringDeduplication -XX:+ExitOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M
ports:
- 9000:9000
volumes:
- ./collections:/collections
restart: "no"
postgres:
container_name: postgres
image: postgres:14
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
healthcheck:
test: ["CMD", "pg_isready", "-h", "postgres", "-U", "postgres"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
# ports:
# - 5432:5432