35 lines
615 B
YAML
35 lines
615 B
YAML
|
---
|
||
|
version: '3'
|
||
|
services:
|
||
|
|
||
|
seeddms:
|
||
|
build: seeddms
|
||
|
image: seeddms:6.0.24-230514
|
||
|
restart: unless-stopped
|
||
|
depends_on:
|
||
|
- seeddms-postgres
|
||
|
env_file:
|
||
|
- .env
|
||
|
expose:
|
||
|
- 8080
|
||
|
ports:
|
||
|
- 8080:8080
|
||
|
volumes:
|
||
|
- seeddms_conf:/srv/seeddms/conf
|
||
|
- seeddms_data:/srv/seeddms/data
|
||
|
|
||
|
seeddms-postgres:
|
||
|
image: postgres:14-alpine
|
||
|
restart: unless-stopped
|
||
|
environment:
|
||
|
- POSTGRES_USER
|
||
|
- POSTGRES_PASSWORD
|
||
|
- POSTGRES_DB
|
||
|
volumes:
|
||
|
- postgres_data:/var/lib/postgresql/data
|
||
|
|
||
|
volumes:
|
||
|
seeddms_conf:
|
||
|
seeddms_data:
|
||
|
postgres_data:
|