@@ -6,7 +6,7 @@ x-rsync-common: &rsync-common
66 - workspace_src:/workspace
77 - thunderstore_nginx_conf:/etc/nginx/user-conf
88 environment :
9- RSYNC_ARGS : " -a --delete --info=progress2 --exclude=.git --exclude=build-secrets --exclude=.npmrc --exclude=node_modules --exclude=.turbo --exclude=.cache --exclude=apps/cyberstorm-remix/build --exclude=apps/cyberstorm-remix/.react-router"
9+ RSYNC_ARGS : " -a --delete --info=progress2 --exclude=.git --exclude=build-secrets --exclude=.npmrc --exclude=node_modules --exclude=.turbo --exclude=.cache --exclude=packages/*/dist --exclude=packages/*/dist/** --exclude=packages/*/types/dist --exclude=packages/*/types/dist/** --exclude= apps/cyberstorm-remix/build --exclude=apps/cyberstorm-remix/.react-router"
1010 SYNC_INTERVAL : " 5"
1111
1212services :
@@ -15,7 +15,7 @@ services:
1515 container_name : cyberstorm-remix-sync
1616 restart : " no"
1717 command : >-
18- /bin/sh -c "set -e; apk add --no-cache rsync; rsync $$RSYNC_ARGS /src/ /workspace/; tmp=/etc/nginx/user-conf/.new-localhost.conf.tmp; cp -f /src/tools/nginx/new-localhost.conf \"$$tmp\"; mv -f \"$$tmp\" /etc/nginx/user-conf/new-localhost.conf; echo sync complete"
18+ /bin/sh -c "set -e; apk add --no-cache rsync; rsync $$RSYNC_ARGS /src/ /workspace/; tmp=/etc/nginx/user-conf/.new-thunderstore- localhost.conf.tmp; cp -f /src/tools/nginx/new-thunderstore- localhost.conf \"$$tmp\"; mv -f \"$$tmp\" /etc/nginx/user-conf/new-thunderstore -localhost.conf; echo sync complete"
1919
2020 cyberstorm-remix-watch :
2121 << : *rsync-common
@@ -25,7 +25,7 @@ services:
2525 cyberstorm-remix-sync :
2626 condition : service_completed_successfully
2727 command : >-
28- /bin/sh -c "set -e; apk add --no-cache rsync; while true; do rsync $$RSYNC_ARGS /src/ /workspace/; tmp=/etc/nginx/user-conf/.new-localhost.conf.tmp; cp -f /src/tools/nginx/new-localhost.conf \"$$tmp\"; mv -f \"$$tmp\" /etc/nginx/user-conf/new-localhost.conf; sleep $$SYNC_INTERVAL; done"
28+ /bin/sh -c "set -e; apk add --no-cache rsync; while true; do rsync $$RSYNC_ARGS /src/ /workspace/; tmp=/etc/nginx/user-conf/.new-thunderstore- localhost.conf.tmp; cp -f /src/tools/nginx/new-thunderstore- localhost.conf \"$$tmp\"; mv -f \"$$tmp\" /etc/nginx/user-conf/new-thunderstore -localhost.conf; sleep $$SYNC_INTERVAL; done"
2929
3030 cyberstorm-remix :
3131 container_name : cyberstorm-remix
@@ -51,13 +51,13 @@ services:
5151 - NPM_CONFIG_USERCONFIG=/run/secrets/npmrc
5252 - ENABLE_BROKEN_PAGES=True
5353 - VITE_DEVELOPMENT=True
54- - VITE_SITE_URL=http://localhost
55- - VITE_BETA_SITE_URL=http://new.localhost
56- - VITE_API_URL=http://localhost
57- - VITE_COOKIE_DOMAIN=.localhost
58- - VITE_AUTH_BASE_URL=http://localhost
59- - VITE_AUTH_RETURN_URL=http://new.localhost
60- - __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=.localhost
54+ - VITE_SITE_URL=http://thunderstore. localhost
55+ - VITE_BETA_SITE_URL=http://new.thunderstore. localhost
56+ - VITE_API_URL=http://thunderstore. localhost
57+ - VITE_COOKIE_DOMAIN=.thunderstore. localhost
58+ - VITE_AUTH_BASE_URL=http://thunderstore. localhost
59+ - VITE_AUTH_RETURN_URL=http://new.thunderstore. localhost
60+ - __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=.thunderstore. localhost
6161 secrets :
6262 - npmrc
6363
0 commit comments