Skip to content

Commit

Permalink
馃П(frontend) update docker
Browse files Browse the repository at this point in the history
With the addition of turborepo, we have changed the location of the
folders and the list of commands.
So we have to impact these changes in the docker-compose files
  • Loading branch information
PanchoutNathan committed Dec 16, 2022
1 parent 23bbc3e commit d0040c7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1,345 deletions.
10 changes: 9 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ version: "3.5"
services:
postgresql:
image: postgres:14.3
platform: linux/amd64
ports:
- "5432:5432"
env_file:
- env.d/development/postgresql

mysql:
image: mysql:8.0
platform: linux/amd64
env_file:
- env.d/development/mysql
command: --default-authentication-plugin=mysql_native_password
Expand All @@ -19,6 +23,7 @@ services:
args:
DOCKER_USER: ${DOCKER_USER:-1000}
image: magnify:development
platform: linux/amd64
env_file:
- env.d/development/common
- env.d/development/${DB_HOST:-postgresql}
Expand All @@ -34,12 +39,13 @@ services:

nginx:
image: nginx
platform: linux/amd64
ports:
- "8070:8070"
- "8071:8071"
volumes:
- ./docker/files/etc/nginx/${NGINX_CONF:-conf.d}:/etc/nginx/conf.d:ro
- ./src/frontend/demo/build:/var/frontend
- ./src/frontend/magnify/apps/magnify-site/dist:/var/frontend
depends_on:
- app

Expand All @@ -52,6 +58,7 @@ services:

crowdin:
image: crowdin/cli:3.7.8
platform: linux/amd64
volumes:
- ".:/app"
env_file:
Expand Down Expand Up @@ -94,3 +101,4 @@ services:

dockerize:
image: jwilder/dockerize
platform: linux/amd64
Loading

0 comments on commit d0040c7

Please sign in to comment.