added tasting code
This commit is contained in:
32
.devcontainer/docker-compose.yml
Normal file
32
.devcontainer/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: .devcontainer/Dockerfile
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
command: sleep infinity
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: dev
|
||||
POSTGRES_PASSWORD: dev
|
||||
POSTGRES_DB: iot
|
||||
ports:
|
||||
- 5432:5432
|
||||
command: ["postgres", "-c", "log_statement=all"]
|
||||
|
||||
adminer:
|
||||
image: michalhosna/adminer
|
||||
environment:
|
||||
ADMINER_DB: iot
|
||||
ADMINER_DRIVER: pgsql
|
||||
ADMINER_SERVER: db
|
||||
ADMINER_USERNAME: dev
|
||||
ADMINER_PASSWORD: dev
|
||||
ADMINER_AUTOLOGIN: 1
|
||||
ADMINER_NAME: IOT DEVELOPMENT
|
||||
ports:
|
||||
- 1111:8080
|
||||
Reference in New Issue
Block a user