diff --git a/docker-compose.yml b/docker-compose.yml index 769063b6..284fa15c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -170,6 +170,8 @@ services: container_name: accounts restart: unless-stopped logging: *default-logging + env_file: + - .env environment: - SKYNET_DB_HOST=mongo - SKYNET_DB_PORT=27017 @@ -295,13 +297,15 @@ services: cockroach: image: cockroachdb/cockroach:v20.1.10 container_name: cockroach + env_file: + - .env command: start --advertise-addr=${CR_IP} --join=${CR_CLUSTER_NODES} --certs-dir=/certs --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080 volumes: - ./docker/data/cockroach/sqlite:/cockroach/cockroach-data - ./docker/cockroach/certs:/certs - expose: - - 8080 - - 26257 + ports: + - "4080:8080" + - "26257:26257" networks: shared: ipv4_address: 10.10.10.84 diff --git a/docker/kratos/config/kratos.yml b/docker/kratos/config/kratos.yml index a939024b..1302b00f 100644 --- a/docker/kratos/config/kratos.yml +++ b/docker/kratos/config/kratos.yml @@ -64,7 +64,7 @@ secrets: session: cookie: - domain: secure.siasky.xyz + domain: secure.siasky.net hashers: argon2: