Commit 8bd7929e authored by Timothee Gosselin's avatar Timothee Gosselin

add .env to gitignore

parent 162ecc4c
Pipeline #10204 failed with stages
in 17 seconds
.env
.env.*
coverage/
config/*.env
......
version: '3'
services:
app:
command: yarn run pubsweet server
ports:
- "3000:3000"
environment:
NODE_ENV: development
PORT: "3000"
volumes:
- ./:/app
- /app/node_modules
postgres:
ports:
- "5432:5432"
version: '3'
services:
app:
image: editoria:test
# build:
# context: .
# dockerfile: ./Dockerfile
depends_on:
- postgres
env_file: .env
postgres:
image: postgres:10-alpine
restart: always
ports:
- ${POSTGRES_PORT:-5432}:5432
environment:
- POSTGRES_USER
- POSTGRES_DB
- POSTGRES_PASSWORD
- POSTGRES_PORT
volumes:
- ./data/postgres:/var/lib/postgresql/data
- ./scripts/test.sql:/docker-entrypoint-initdb.d/test.sql
\ No newline at end of file
image: postgres
env_file: .env
volumes:
- postgres-volume:/var/lib/postgresql/data
- ./scripts/test.sql:/docker-entrypoint-initdb.d/test.sql
volumes:
postgres-volume:
PUBSWEET_SECRET=super_secret
POSTGRES_USER=editoria
POSTGRES_PASSWORD=password
POSTGRES_HOST=postgres
POSTGRES_DB=editoria
POSTGRES_PORT=5432
SERVER_PORT=3000
INK_ENDPOINT=myinkendpoint.tld
INK_USERNAME=ink
INK_PASSWORD=ink_password
INK_EDITORIA_TYPESCRIPT=1
MAILER_USER=mail@mail.com
MAILER_PASSWORD=password
MAILER_SENDER=mail@mail.com
MAILER_HOSTNAME=mail.com
PASSWORD_RESET_URL=http://localhost:3000/reset-password
PASSWORD_RESET_SENDER=mail@mail.com
NODE_ENV=development
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment