21 lines
440 B
YAML
21 lines
440 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
go-app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- LDAP_SERVER=${LDAP_SERVER}
|
|
- BIND_DN=${BIND_DN}
|
|
- BIND_PASSWORD=${BIND_PASSWORD}
|
|
- SEARCH_BASE=${SEARCH_BASE}
|
|
- SERVER_PORT=8080
|
|
volumes:
|
|
- ./static:/app/static # Map the static directory from host to container
|
|
|
|
volumes:
|
|
go-app-data:
|