mirror of
https://github.com/dbgate/dbgate
synced 2024-11-21 23:39:46 +00:00
docker volumes #232
This commit is contained in:
parent
3d395a0018
commit
6a183a6263
@ -3,16 +3,26 @@
|
||||
version: "3"
|
||||
services:
|
||||
dbgate:
|
||||
# build: docker
|
||||
image: dbgate/dbgate:beta
|
||||
build: docker
|
||||
# image: dbgate/dbgate:beta
|
||||
restart: always
|
||||
ports:
|
||||
- 3100:3000
|
||||
volumes:
|
||||
- /home/jena/test/chinook:/mnt/sqt
|
||||
environment:
|
||||
CONNECTIONS: sqlite
|
||||
# volumes:
|
||||
# - /home/jena/dbgate-data:/root/dbgate-data
|
||||
|
||||
LABEL_sqlite: sqt
|
||||
FILE_sqlite: /mnt/sqt/Chinook.db
|
||||
ENGINE_sqlite: sqlite@dbgate-plugin-sqlite
|
||||
volumes:
|
||||
- dbgate-data:/root/dbgate-data
|
||||
|
||||
# volumes:
|
||||
# - /home/jena/test/chinook:/mnt/sqt
|
||||
# environment:
|
||||
# CONNECTIONS: sqlite
|
||||
|
||||
# LABEL_sqlite: sqt
|
||||
# FILE_sqlite: /mnt/sqt/Chinook.db
|
||||
# ENGINE_sqlite: sqlite@dbgate-plugin-sqlite
|
||||
|
||||
volumes:
|
||||
dbgate-data:
|
||||
driver: local
|
@ -6,4 +6,5 @@ COPY . .
|
||||
|
||||
WORKDIR /home/dbgate-docker
|
||||
EXPOSE 3000
|
||||
VOLUME /root/dbgate-data
|
||||
CMD node bundle.js
|
||||
|
@ -6,4 +6,5 @@ COPY . .
|
||||
|
||||
WORKDIR /home/dbgate-docker
|
||||
EXPOSE 3000
|
||||
VOLUME /root/dbgate-data
|
||||
CMD node bundle.js
|
||||
|
Loading…
Reference in New Issue
Block a user