Skip to content

Commit e2ff1ab

Browse files
committed
💀 Delete frontend
1 parent 490c554 commit e2ff1ab

77 files changed

Lines changed: 2 additions & 2420 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

{{cookiecutter.project_slug}}/.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ TRAEFIK_PUBLIC_TAG={{cookiecutter.traefik_public_constraint_tag}}
1111

1212
DOCKER_IMAGE_BACKEND={{cookiecutter.docker_image_backend}}
1313
DOCKER_IMAGE_CELERYWORKER={{cookiecutter.docker_image_celeryworker}}
14-
DOCKER_IMAGE_FRONTEND={{cookiecutter.docker_image_frontend}}
1514

1615
# Backend
1716
BACKEND_CORS_ORIGINS={{cookiecutter.backend_cors_origins}}

{{cookiecutter.project_slug}}/.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tests:
2020
build-stag:
2121
stage: build
2222
script:
23-
- TAG=stag FRONTEND_ENV=staging sh ./scripts/build-push.sh
23+
- TAG=stag sh ./scripts/build-push.sh
2424
only:
2525
- master
2626
tags:
@@ -30,7 +30,7 @@ build-stag:
3030
build-prod:
3131
stage: build
3232
script:
33-
- TAG=prod FRONTEND_ENV=production sh ./scripts/build-push.sh
33+
- TAG=prod sh ./scripts/build-push.sh
3434
only:
3535
- production
3636
tags:

{{cookiecutter.project_slug}}/docker-compose.override.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ services:
7272
INSTALL_DEV: ${INSTALL_DEV-true}
7373
INSTALL_JUPYTER: ${INSTALL_JUPYTER-true}
7474

75-
frontend:
76-
build:
77-
context: ./frontend
78-
args:
79-
FRONTEND_ENV: dev
80-
labels:
81-
- traefik.enable=true
82-
- traefik.constraint-label-stack=${TRAEFIK_TAG?Variable not set}
83-
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.rule=PathPrefix(`/`)
84-
- traefik.http.services.${STACK_NAME?Variable not set}-frontend.loadbalancer.server.port=80
85-
8675
networks:
8776
traefik-public:
8877
# For local dev, don't expect an external Traefik network

{{cookiecutter.project_slug}}/docker-compose.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,6 @@ services:
178178
args:
179179
INSTALL_DEV: ${INSTALL_DEV-false}
180180

181-
frontend:
182-
image: '${DOCKER_IMAGE_FRONTEND?Variable not set}:${TAG-latest}'
183-
build:
184-
context: ./frontend
185-
args:
186-
FRONTEND_ENV: ${FRONTEND_ENV-production}
187-
deploy:
188-
labels:
189-
- traefik.enable=true
190-
- traefik.constraint-label-stack=${TRAEFIK_TAG?Variable not set}
191-
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.rule=PathPrefix(`/`)
192-
- traefik.http.services.${STACK_NAME?Variable not set}-frontend.loadbalancer.server.port=80
193-
194181
volumes:
195182
app-db-data:
196183

{{cookiecutter.project_slug}}/frontend/.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

{{cookiecutter.project_slug}}/frontend/.env

Lines changed: 0 additions & 10 deletions
This file was deleted.

{{cookiecutter.project_slug}}/frontend/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

{{cookiecutter.project_slug}}/frontend/Dockerfile

Lines changed: 0 additions & 28 deletions
This file was deleted.

{{cookiecutter.project_slug}}/frontend/README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

{{cookiecutter.project_slug}}/frontend/babel.config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)