|
@@ -5,15 +5,13 @@
|
|
|
# 2. Access at http://localhost:3000
|
|
# 2. Access at http://localhost:3000
|
|
|
#
|
|
#
|
|
|
# Using MySQL instead of PostgreSQL:
|
|
# Using MySQL instead of PostgreSQL:
|
|
|
-# 1. Comment out the postgres service and SQL_DSN line 15
|
|
|
|
|
-# 2. Uncomment the mysql service and SQL_DSN line 16
|
|
|
|
|
-# 3. Uncomment mysql in depends_on (line 28)
|
|
|
|
|
-# 4. Uncomment mysql_data in volumes section (line 64)
|
|
|
|
|
|
|
+# 1. Comment out the postgres service and SQL_DSN line 13
|
|
|
|
|
+# 2. Uncomment the mysql service and SQL_DSN line 14
|
|
|
|
|
+# 3. Uncomment mysql in depends_on (line 26)
|
|
|
|
|
+# 4. Uncomment mysql_data in volumes section (line 62)
|
|
|
#
|
|
#
|
|
|
# ⚠️ IMPORTANT: Change all default passwords before deploying to production!
|
|
# ⚠️ IMPORTANT: Change all default passwords before deploying to production!
|
|
|
|
|
|
|
|
-version: '3.4' # For compatibility with older Docker versions
|
|
|
|
|
-
|
|
|
|
|
services:
|
|
services:
|
|
|
new-api:
|
|
new-api:
|
|
|
image: calciumion/new-api:latest
|
|
image: calciumion/new-api:latest
|