@@ -32,8 +32,6 @@ Additional environment variables include:
3232- **LOCALNET_DIR/compose.env **: Contains Docker Compose configuration variables.
3333- **LOCALNET_ENV_DIR/common.env **: Shared environment variables across Docker Compose and container configurations. It sets default ports, DB credentials, and Splice UI configurations.
3434
35- Depending on the desired environment **ENV ** (local or dev), either ``LOCALNET_ENV_DIR/dev.env `` or ``LOCALNET_ENV_DIR/local.env `` will be applied to both Docker Compose and Splice containers, with ``local `` set as the default.
36-
3735Resource constraints for containers can be configured via:
3836- **LOCALNET_DIR/resource-constraints.yaml **
3937
@@ -126,7 +124,6 @@ start
126124
127125 docker compose --env-file $LOCALNET_DIR /compose.env \
128126 --env-file $LOCALNET_DIR /env/common.env \
129- --env-file $LOCALNET_DIR /env/local.env \
130127 -f $LOCALNET_DIR /compose.yaml \
131128 -f $LOCALNET_DIR /resource-constraints.yaml \
132129 --profile sv \
140137
141138 docker compose --env-file $LOCALNET_DIR /compose.env \
142139 --env-file $LOCALNET_DIR /env/common.env \
143- --env-file $LOCALNET_DIR /env/local.env \
144140 -f $LOCALNET_DIR /compose.yaml \
145141 -f $LOCALNET_DIR /resource-constraints.yaml \
146142 --profile sv \
@@ -154,7 +150,6 @@ start with swagger-ui
154150
155151 docker compose --env-file $LOCALNET_DIR /compose.env \
156152 --env-file $LOCALNET_DIR /env/common.env \
157- --env-file $LOCALNET_DIR /env/local.env \
158153 -f $LOCALNET_DIR /compose.yaml \
159154 -f $LOCALNET_DIR /resource-constraints.yaml \
160155 --profile sv \
@@ -169,7 +164,6 @@ stop with swagger-ui
169164
170165 docker compose --env-file $LOCALNET_DIR /compose.env \
171166 --env-file $LOCALNET_DIR /env/common.env \
172- --env-file $LOCALNET_DIR /env/local.env \
173167 -f $LOCALNET_DIR /compose.yaml \
174168 -f $LOCALNET_DIR /resource-constraints.yaml \
175169 --profile sv \
@@ -184,29 +178,7 @@ console
184178
185179 docker compose --env-file $LOCALNET_DIR /compose.env \
186180 --env-file $LOCALNET_DIR /env/common.env \
187- --env-file $LOCALNET_DIR /env/local.env \
188181 -f $LOCALNET_DIR /compose.yaml \
189182 -f $LOCALNET_DIR /resource-constraints.yaml \
190183 run --rm console
191184
192- Run in devnet
193- -------------
194-
195- .. code-block :: bash
196-
197- export ENV=dev
198- export SV_PROFILE=off
199- export IMAGE_TAG=??? # Set the image tag to the desired value
200- export MIGRATION_ID=??? # Set the migration ID to the desired value
201- docker compose --env-file ${LOCALNET_DIR} /compose.env \
202- --env-file ${LOCALNET_DIR} /env/common.env \
203- --env-file ${LOCALNET_DIR} /env/dev.env \
204- -f ${LOCALNET_DIR} /compose.yaml \
205- -f ${LOCALNET_DIR} /resource-constraints.yaml \
206- --profile app-provider \
207- --profile app-user up -d
208-
209- Please ensure that the MIGRATION_ID and IMAGE_TAG environment variables are correctly configured for the development network.
210- For more information and the correct values, please visit: https://sync.global/sv-network/
211-
212-
0 commit comments