Skip to content

Commit

Permalink
update docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienBtr committed Nov 7, 2020
1 parent 03647dc commit 65a0ee0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
35 changes: 1 addition & 34 deletions services/auth/docker-compose.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,7 @@ services:
- '${SERVER_PORT:-3505}:3500'
networks:
- kafka_broker

prisma:
networks:
- postgres
environment:
PRISMA_CONFIG: |
port: 4466
managementApiSecret: ${PRISMA_MANAGEMENT_API_SECRET:-wsflk897dh%£}
databases:
default:
connector: postgres
host: postgres
port: 5432
user: postgres
password: postgres
postgres:
image: postgres:10.3
restart: always
networks:
- postgres
environment:
POSTGRES_DB: prisma
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres-${ENV:-dev}:/var/lib/postgresql/data

networks:
kafka_broker:
external: true
postgres:
driver: bridge

volumes:
postgres-dev:
postgres-test:
external: true
2 changes: 0 additions & 2 deletions services/auth/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ services:
- app
logging:
driver: ${LOGGING_DRIVER:-json-file}
environment:
PRISMA_MANAGEMENT_API_SECRET: ${PRISMA_MANAGEMENT_API_SECRET:-wsflk897dh%£}
restart: always

networks:
Expand Down

0 comments on commit 65a0ee0

Please sign in to comment.