Skip to content

Commit

Permalink
chore: rename docker
Browse files Browse the repository at this point in the history
* images/services/containers/networks
  • Loading branch information
weaponsforge committed Sep 27, 2024
1 parent 8568106 commit da3fdf7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion client/config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ server {
# Reverse proxy to the backend API server
# Requires the backend service running on a container named 'webserver-kmz-prod'
# location /api {
# proxy_pass http://climate-server-prod:3001;
# proxy_pass http://gsites-server-prod:3001;
# proxy_set_header Host $host;
# }

Expand Down
22 changes: 11 additions & 11 deletions docker-compose.dev.yml
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
12 changes: 6 additions & 6 deletions docker-compose.prod.yml
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

0 comments on commit da3fdf7

Please sign in to comment.