Skip to content

Commit

Permalink
Add Postgres service to docker-compose file
Browse files Browse the repository at this point in the history
A new Postgres service has been added to the docker-compose file, with its respective environmental variables and volume. This service uses postgres:13.3-alpine image and is accessible via the port 5432.
  • Loading branch information
sfmskywalker committed Feb 14, 2024
1 parent c0e8eaf commit eeb8aef
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ services:
ACCEPT_EULA: "Y"
volumes:
- c:\data\docker\sqlserver2019:/var/opt/mssql/data

postgres:
image: postgres:13.3-alpine
container_name: elsa3-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgrespw
POSTGRES_DB: elsa
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data

mongodb:
image: mongo:latest
Expand Down Expand Up @@ -110,5 +122,6 @@ networks:

volumes:
mongodb_data:
pgdata:
elasticsearch-data:
driver: local

0 comments on commit eeb8aef

Please sign in to comment.