docker compose was updated
This commit is contained in:
parent
d2a5d2ed81
commit
eeb6327046
18
docker-compose.dev.yaml
Normal file
18
docker-compose.dev.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
# docker compose -f docker-compose.dev.yaml up -d
|
||||
|
||||
version: "3"
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
@ -10,7 +10,7 @@ services:
|
||||
db:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_USER: ${PostgresUser}
|
||||
POSTGRES_USER: ${PostgresUser}]
|
||||
POSTGRES_PASSWORD: ${PostgresPassword}
|
||||
POSTGRES_DB: ${PostgresDatabaseName}
|
||||
ports:
|
||||
@ -25,12 +25,6 @@ services:
|
||||
timeout: "30s"
|
||||
retries: 5
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
api:
|
||||
image: newsbot.collector:latest
|
||||
environment:
|
Loading…
Reference in New Issue
Block a user