|
|
@@ -5,6 +5,10 @@ services: |
|
|
|
image: postgres:9.5 |
|
|
|
volumes: |
|
|
|
- postgresql:/var/lib/postgresql/data |
|
|
|
environment: |
|
|
|
POSTGRES_DB: 'lesspass' |
|
|
|
POSTGRES_USER: 'lesspass' |
|
|
|
POSTGRES_PASSWORD: ${DATABASE_PASSWORD} |
|
|
|
backend: |
|
|
|
restart: always |
|
|
|
image: lesspass/backend:latest |
|
|
@@ -16,11 +20,12 @@ services: |
|
|
|
- db |
|
|
|
environment: |
|
|
|
DATABASE_ENGINE: 'django.db.backends.postgresql' |
|
|
|
DATABASE_NAME: 'postgres' |
|
|
|
DATABASE_USER: 'postgres' |
|
|
|
DATABASE_PASSWORD: '' |
|
|
|
DATABASE_NAME: 'lesspass' |
|
|
|
DATABASE_USER: 'lesspass' |
|
|
|
DATABASE_PASSWORD: ${DATABASE_PASSWORD} |
|
|
|
DATABASE_HOST: 'db' |
|
|
|
DATABASE_PORT: '5432' |
|
|
|
SECRET_KEY: ${SECRET_KEY} |
|
|
|
frontend: |
|
|
|
restart: always |
|
|
|
image: lesspass/frontend:gh-pages |
|
|
|