Skip to content

Commit

Permalink
chore(devops): bring back client docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
umitcan07 committed Nov 25, 2024
1 parent 45ea22c commit a77c497
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ services:
depends_on:
db:
condition: service_healthy
# client:
# build:
# context: ./client
# ports:
# - "3310:3310"
# volumes:
# - ./client:/home/app/client
# container_name: client
# command: >
# sh -c "serve -s dist -l 3310"
# restart: "on-failure"
# env_file: ./client/.env
# depends_on:
# - backend
# nginx:
# image: nginx:1.27-alpine
# volumes:
# - ./nginx:/etc/nginx/conf.d
# ports:
# - "80:80"
# depends_on:
# - client
client:
build:
context: ./client
ports:
- "3310:3310"
volumes:
- ./client:/home/app/client
container_name: client
command: >
sh -c "serve -s dist -l 3310"
restart: "on-failure"
env_file: ./client/.env
depends_on:
- backend
nginx:
image: nginx:1.27-alpine
volumes:
- ./nginx:/etc/nginx/conf.d
ports:
- "80:80"
depends_on:
- client
volumes:
db_data:

0 comments on commit a77c497

Please sign in to comment.