Skip to content

Commit

Permalink
Modified CLI resources
Browse files Browse the repository at this point in the history
  • Loading branch information
anasbarg committed May 12, 2021
1 parent da0bdac commit 08b9736
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 76 deletions.
50 changes: 0 additions & 50 deletions cli/src/main/resources/docker-compose-template.yml

This file was deleted.

35 changes: 9 additions & 26 deletions cli/src/main/resources/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
version: '3'

volumes:
pragma_postgres_data:

services:
pragma_postgres:
image: postgres:13.0
container_name: pragma_postgres
pragma-postgres:
image: postgres
restart: always
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
ports:
- 9153:5432
volumes:
- pragma_postgres_data:/var/lib/postgresql/data
command: [ "postgres", "-c", "log_statement=all" ]

pragmad:
image: pragmalang/pragmad:latest
container_name: pragmad
ports:
- 9584:9584
environment:
PRAGMA_HOSTNAME: 0.0.0.0
PRAGMA_PORT: 9584
PRAGMA_PG_HOST: pragma_postgres
PRAGMA_PG_PORT: 5432
PRAGMA_PG_DB_NAME: test
PRAGMA_PG_USER: test
PRAGMA_PG_PASSWORD: test
depends_on:
- pragma_postgres
- "5432:5432"
command: [
"postgres",
"-c", "log_statement=all",
"-c", "max_connections=300",
"-c", "shared_buffers=80MB"
]

0 comments on commit 08b9736

Please sign in to comment.