switch to mongodb, add drag&drop
This commit is contained in:
@@ -2,23 +2,23 @@ version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
- POSTGRES_DB=diesel_demo
|
||||
- POSTGRES_USER=user
|
||||
- POSTGRES_PASSWORD=password
|
||||
# db:
|
||||
# image: postgres
|
||||
# restart: always
|
||||
# volumes:
|
||||
# - ./data:/var/lib/postgresql/data
|
||||
# ports:
|
||||
# - 5432:5432
|
||||
# environment:
|
||||
# - POSTGRES_DB=diesel_demo
|
||||
# - POSTGRES_USER=user
|
||||
# - POSTGRES_PASSWORD=password
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- 3000:8080
|
||||
# adminer:
|
||||
# image: adminer
|
||||
# restart: always
|
||||
# ports:
|
||||
# - 3000:8080
|
||||
|
||||
# photos:
|
||||
# build: .
|
||||
@@ -31,3 +31,22 @@ services:
|
||||
# - db
|
||||
# links:
|
||||
# - db
|
||||
|
||||
mongo:
|
||||
image: mongo
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: jheuel
|
||||
MONGO_INITDB_ROOT_PASSWORD: bla
|
||||
ports:
|
||||
- 27017:27017
|
||||
|
||||
mongo-express:
|
||||
image: mongo-express
|
||||
restart: always
|
||||
ports:
|
||||
- 8082:8081
|
||||
environment:
|
||||
ME_CONFIG_MONGODB_ADMINUSERNAME: jheuel
|
||||
ME_CONFIG_MONGODB_ADMINPASSWORD: bla
|
||||
ME_CONFIG_MONGODB_URL: mongodb://jheuel:bla@mongo:27017/
|
||||
|
||||
Reference in New Issue
Block a user