mirror of
https://github.com/aljazceru/mutiny-net.git
synced 2025-12-17 05:54:22 +01:00
Fixes for rgs
This commit is contained in:
@@ -56,6 +56,9 @@ services:
|
|||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
- "10009:10009"
|
- "10009:10009"
|
||||||
rgs_server:
|
rgs_server:
|
||||||
|
container_name: "rgs-server"
|
||||||
|
restart: always
|
||||||
|
stop_grace_period: 1m
|
||||||
build:
|
build:
|
||||||
context: ./rapid-gossip-sync-server
|
context: ./rapid-gossip-sync-server
|
||||||
dockerfile: ./docker/Dockerfile.rgs
|
dockerfile: ./docker/Dockerfile.rgs
|
||||||
@@ -78,9 +81,13 @@ services:
|
|||||||
command: 'cargo run --release'
|
command: 'cargo run --release'
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
|
container_name: "postgres"
|
||||||
image: 'postgres:12-alpine'
|
image: 'postgres:12-alpine'
|
||||||
|
restart: always
|
||||||
|
stop_grace_period: 1m
|
||||||
|
user: "0:1000"
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- ~/volumes/postgres:/var/lib/postgresql/data
|
- ~/volumes/postgres:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user