Listory/docker-compose.prod.yml
semantic-release-bot 44b3b76886 chore(release): 1.31.0 [skip ci]
# [1.31.0](https://github.com/apricote/Listory/compare/v1.30.1...v1.31.0) (2023-10-15)

### Features

* **frontend:** hide revoked api tokens ([#307](https://github.com/apricote/Listory/issues/307)) ([4cef4f7](4cef4f75ac))
2023-10-15 13:25:51 +00:00

45 lines
854 B
YAML

version: "3.9"
services:
#####
## Required services for listory
#####
db:
image: postgres:16.0
restart: unless-stopped
environment:
POSTGRES_PASSWORD: listory
POSTGRES_USER: listory
POSTGRES_DB: listory
volumes:
- db:/var/lib/postgresql/data
networks:
- db
api:
image: apricote/listory:1.31.0
restart: unless-stopped
environment:
DB_HOST: db
DB_USERNAME: listory
DB_PASSWORD: listory
DB_DATABASE: listory
JWT_SECRET: listory
APP_URL: "http://localhost:3000"
# You can add any configuration from the README.md here or in .env,
# make sure to restart the container if you made any changes.
env_file: .env
ports:
- "3000:3000" # API
networks:
- web
- db
volumes:
db: {}
networks:
db: {}
web: {}