-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
services: | ||
# NextJS v13 app running on development mode | ||
climate-client-dev: | ||
container_name: climate-client-dev | ||
image: weaponsforge/climate-client:dev | ||
gsites-client-dev: | ||
container_name: gsites-client-dev | ||
image: weaponsforge/gsites-client:dev | ||
env_file: | ||
- ./client/.env | ||
build: | ||
context: ./client | ||
dockerfile: Dockerfile | ||
target: development | ||
networks: | ||
- climate-dev | ||
- gsites-dev | ||
volumes: | ||
- ./client:/opt/client | ||
- /opt/client/node_modules | ||
- /opt/client/.next | ||
ports: | ||
- "3000:3000" | ||
|
||
# Express server for hosting KMZ files running in development mode | ||
climate-server-dev: | ||
container_name: climate-server-dev | ||
image: weaponsforge/climate-server:dev | ||
# Node CLI for running scripts | ||
gsites-server-dev: | ||
container_name: gsites-server-dev | ||
image: weaponsforge/gsites-server:dev | ||
env_file: | ||
- ./server/.env | ||
build: | ||
context: ./server | ||
dockerfile: Dockerfile | ||
target: development | ||
networks: | ||
- climate-dev | ||
- gsites-dev | ||
volumes: | ||
- ./server:/opt/server | ||
- /opt/server/node_modules | ||
stdin_open: true | ||
tty: true | ||
|
||
networks: | ||
climate-dev: | ||
name: climate-dev | ||
gsites-dev: | ||
name: gsites-dev | ||
external: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
services: | ||
# NextJS exported app running on an nginx webserver | ||
climate-client-prod: | ||
container_name: climate-client-prod | ||
image: weaponsforge/climate-client:latest | ||
gsites-client-prod: | ||
container_name: gsites-client-prod | ||
image: weaponsforge/gsites-client:latest | ||
restart: always | ||
build: | ||
context: ./client | ||
dockerfile: Dockerfile | ||
target: production | ||
networks: | ||
- climate-prod | ||
- gsites-prod | ||
ports: | ||
- "3000:3000" | ||
|
||
networks: | ||
climate-prod: | ||
name: climate-prod | ||
gsites-prod: | ||
name: gsites-prod | ||
external: false |