diff --git a/sandbox/.dockerignore b/sandbox/.dockerignore new file mode 100644 index 0000000..c27e9ba --- /dev/null +++ b/sandbox/.dockerignore @@ -0,0 +1,3 @@ +node_modules +build +.env \ No newline at end of file diff --git a/sandbox/.env.example b/sandbox/.env.example new file mode 100644 index 0000000..3f8a0de --- /dev/null +++ b/sandbox/.env.example @@ -0,0 +1,2 @@ +ADMIN_URL="http://localhost:5173" +REPO_URL="http://localhost:7006" \ No newline at end of file diff --git a/sandbox/docker-compose.yml b/sandbox/docker-compose.yml index f0713e3..c2791b6 100644 --- a/sandbox/docker-compose.yml +++ b/sandbox/docker-compose.yml @@ -3,6 +3,6 @@ services: sandbox: build: . environment: - - ADMIN_URL=http://localhost:5173 - - REPO_URL=http://localhost:7006 + - ADMIN_URL=${ADMIN_URL} + - REPO_URL=${REPO_URL} network_mode: 'host'