features/cutover-to-ef #9
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:
|
db:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${PostgresUser}
|
POSTGRES_USER: ${PostgresUser}]
|
||||||
POSTGRES_PASSWORD: ${PostgresPassword}
|
POSTGRES_PASSWORD: ${PostgresPassword}
|
||||||
POSTGRES_DB: ${PostgresDatabaseName}
|
POSTGRES_DB: ${PostgresDatabaseName}
|
||||||
ports:
|
ports:
|
||||||
@ -25,12 +25,6 @@ services:
|
|||||||
timeout: "30s"
|
timeout: "30s"
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
adminer:
|
|
||||||
image: adminer
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "8080:8080"
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
image: newsbot.collector:latest
|
image: newsbot.collector:latest
|
||||||
environment:
|
environment:
|
Loading…
Reference in New Issue
Block a user