Added ElectricSQL to docker-compose, available on 3060
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user