docker compose was updated

This commit is contained in:
James Tombleson 2023-06-19 15:37:21 -07:00
parent d2a5d2ed81
commit eeb6327046
2 changed files with 19 additions and 7 deletions

18
docker-compose.dev.yaml Normal file
View 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

View File

@ -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: