Moved env files

This commit is contained in:
Daniel Egger 2022-02-02 12:02:47 +01:00
parent f8b53cb33f
commit 594eca5971
6 changed files with 10 additions and 13 deletions

View File

@ -1,4 +0,0 @@
# General
# ------------------------------------------------------------------------------
USE_DOCKER=yes
IPYTHONDIR=/app/.ipython

2
.gitignore vendored
View File

@ -278,5 +278,3 @@ project.min.css
vendors.js vendors.js
*.min.js *.min.js
.env .env
.envs/*
!.envs/.local/

View File

@ -5,3 +5,8 @@ VBV_POSTGRES_PORT=5432
VBV_POSTGRES_DB=vbv_lernwelt VBV_POSTGRES_DB=vbv_lernwelt
VBV_POSTGRES_USER=MRsLOrFLFqmAnAxxWMsHXfUSqWHThtGQ VBV_POSTGRES_USER=MRsLOrFLFqmAnAxxWMsHXfUSqWHThtGQ
VBV_POSTGRES_PASSWORD=hNqfCdG6bwCLcnfboDtNM1L2Hiwp8GuKp1DJ6t2rcKl15Vls2QbByoIZ6IQlciKM VBV_POSTGRES_PASSWORD=hNqfCdG6bwCLcnfboDtNM1L2Hiwp8GuKp1DJ6t2rcKl15Vls2QbByoIZ6IQlciKM
# General
# ------------------------------------------------------------------------------
USE_DOCKER=yes
IPYTHONDIR=/app/.ipython

BIN
env_secrets/production.env Normal file

Binary file not shown.

View File

@ -16,8 +16,7 @@ services:
volumes: volumes:
- .:/app:z - .:/app:z
env_file: env_file:
- ./.envs/.local/.django - ./env/docker_local.env
- ./.envs/.local/.postgres
ports: ports:
- "8000:8000" - "8000:8000"
command: /start command: /start
@ -32,7 +31,7 @@ services:
- vbv_lernwelt_local_postgres_data:/var/lib/postgresql/data:Z - vbv_lernwelt_local_postgres_data:/var/lib/postgresql/data:Z
- vbv_lernwelt_local_postgres_data_backups:/backups:z - vbv_lernwelt_local_postgres_data_backups:/backups:z
env_file: env_file:
- ./.envs/.local/.postgres - ./env/docker_local.env
docs: docs:
image: vbv_lernwelt_local_docs image: vbv_lernwelt_local_docs
@ -41,7 +40,7 @@ services:
context: . context: .
dockerfile: ./compose/local/docs/Dockerfile dockerfile: ./compose/local/docs/Dockerfile
env_file: env_file:
- ./.envs/.local/.django - ./env/docker_local.env
volumes: volumes:
- ./docs:/docs:z - ./docs:/docs:z
- ./config:/app/config:z - ./config:/app/config:z

View File

@ -15,8 +15,7 @@ services:
- postgres - postgres
- redis - redis
env_file: env_file:
- ./.envs/.production/.django - env_secrets/production.env
- ./.envs/.production/.postgres
command: /start command: /start
postgres: postgres:
@ -28,7 +27,7 @@ services:
- production_postgres_data:/var/lib/postgresql/data:Z - production_postgres_data:/var/lib/postgresql/data:Z
- production_postgres_data_backups:/backups:z - production_postgres_data_backups:/backups:z
env_file: env_file:
- ./.envs/.production/.postgres - env_secrets/production.env
traefik: traefik:
build: build: