sf-static/temp/fider-postgres/docker-compose.yml

41 lines
1.2 KiB
YAML
Raw Normal View History

2023-02-28 18:21:07 +00:00
version: '2'
services:
db:
restart: always
image: postgres
volumes:
- /var/fider/pg_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: fider
POSTGRES_PASSWORD: fooooder
app:
restart: always
image: getfider/fider:stable
ports:
- "9999:3000"
environment:
# Use production for best performance
# Use development for verbose logs
GO_ENV: production
# Public host address (required)
HOST_DOMAIN: s9.altweb.me
# Connection string to the PostgreSQL database.
# This example uses the Docker service defined above
DATABASE_URL: postgres://fider:fooooder@db:5432/fider?sslmode=disable
JWT_SECRET: 5468576D5A7134743777217A25432A46294A404E635266556A586E3272357538782F413F4428472B4B6150645367566B5970337336763979244226452948404D
# From which account e-mails will be sent (required)
EMAIL_NOREPLY: work@spencerflagg.com
EMAIL_MAILGUN_API: d856dbe4756edd36b260e479444e0f2b-73e57fef-3fd21cd0
# EMAIL_MAILGUN_DOMAIN: sandbox432d3bcd9d2143a5926ce809a6f59325.mailgun.org
EMAIL_MAILGUN_DOMAIN: mg.altweb.me
depends_on:
- db