Added ElectricSQL to docker-compose, available on 3060

This commit is contained in:
Matt Aitken
2024-08-29 11:30:53 +01:00
parent 7c1339c108
commit 4495fa9b95
+17
View File
@@ -24,6 +24,11 @@ services:
- app_network
ports:
- 5432:5432
command:
- -c
- listen_addresses=*
- -c
- wal_level=logical
pgadmin:
container_name: pgadmin
@@ -53,3 +58,15 @@ services:
- app_network
ports:
- 6379:6379
electric:
image: electricsql/electric
restart: always
environment:
DATABASE_URL: postgresql://postgres:postgres@database:5432/postgres
networks:
- app_network
ports:
- "3060:3000"
depends_on:
- database