nexy7574
c7155cbd65
All checks were successful
Build and Publish / build_and_publish (push) Successful in 31s
21 lines
601 B
YAML
21 lines
601 B
YAML
services:
|
|
web:
|
|
build: .
|
|
ports:
|
|
- "8000:80"
|
|
environment:
|
|
- DATABASE_URL=postgres://elongate:elongate@db:5432/elongate
|
|
#- CONTACT_NAME=Your Name Here
|
|
#- CONTACT_EMAIL=your@email.example
|
|
#- CONTACT_URL=https://your.website.example/contact
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: elongate
|
|
POSTGRES_USER: elongate
|
|
POSTGRES_DB: elongate
|
|
volumes:
|
|
- ./pgdata:/var/lib/postgresql/data
|