-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 868 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (29 loc) · 868 Bytes
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
version: '3'
services:
rhizomer-api:
image: rhizomik/rhizomer-api
container_name: rhizomer-api
ports:
- "8080:8080"
environment:
- ALLOWED_ORIGINS=${CLIENT_URL:-http://localhost}
- RHIZOMER_DEFAULT_PASSWORD=password
- JAVA_OPTS=-Xmx512m -Xms128m -Dcom.sun.security.enableAIAcaIssuers=true
# Enable for database persistence, default is in-memory
# - SPRING_PROFILES_ACTIVE=production
# - DATABASE_URL=jdbc:mysql://database:3306/rhizomer
# - DATABASE_USERNAME=rhizomer
# - DATABASE_PASSWORD=password
# depends_on:
# - database
#
# database:
# image: mariadb:latest
# container_name: database
# environment:
# - MYSQL_DATABASE=rhizomer
# - MYSQL_USER=rhizomer
# - MYSQL_PASSWORD=password
# - MYSQL_ROOT_PASSWORD=password
# expose:
# - "3306"