19 lines
356 B
YAML
19 lines
356 B
YAML
services:
|
|
simple_chat:
|
|
build:
|
|
context: ../
|
|
dockerfile: docker/Dockerfile
|
|
target: ${BUILD_TARGET:-prod}
|
|
container_name: simple_chat
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- ROOT_PASSWD=adminpass
|
|
- JWT_SECRET=change_me
|
|
volumes:
|
|
- data:/simple-chat/data
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
data:
|