Skip to content

Commit

Permalink
chore(compose): pass envs to docker compose on starting
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibov committed Nov 28, 2023
1 parent f32dbde commit 565e494
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy

on:
push:
branches:
- master
# branches:
# - master

jobs:
build-and-push:
Expand Down
3 changes: 2 additions & 1 deletion backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.git
data
media
static
static
.env
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ services:
cache_from:
- aaissaut/aaiss:backend
command: gunicorn aaiss_backend.wsgi:application --bind 0.0.0.0:6446
environment:
SECRET_KEY: ${BACKEND_SECRET_KEY}
EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD}
ZIFY_AUTH: ${ZIFY_AUTH}
volumes:
- ./backend/data:/backend-aaiss/data
- ./backend/static:/backend-aaiss/static
Expand Down
3 changes: 2 additions & 1 deletion frontend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.gitignore
README.md
dist
node_modules
node_modules
.env

0 comments on commit 565e494

Please sign in to comment.