services:
themis-db:
image: postgres:16-alpine
container_name: themis_postgresql
ports:
- "5432:5432"
environment:
POSTGRES_DB: themis_financial
POSTGRES_USER: username
POSTGRES_PASSWORD: password
volumes:
- db_data:/var/lib/postgresql/data
restart: always
themis-app:
image: clebsantos/themis:1.0.0
container_name: themis_app
ports:
- "8080:8080"
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://themis-db:5432/themis_financial
SPRING_DATASOURCE_USERNAME: username
SPRING_DATASOURCE_PASSWORD: password
APPLICATION_SECURITY_JWT_SECRET_KEY: 404E635286650462516480575F60647D5B87655A5194F3C46109315A1A378D8D
depends_on:
- themis-db
restart: on-failure
volumes:
db_data:
Content type
Image
Digest
sha256:4fc2752bf…
Size
139.5 MB
Last updated
8 months ago
docker pull clebsantos/themis:0.0.24