SOGoContainer/docker-compose.yaml
2025-08-31 21:55:14 +02:00

38 lines
826 B
YAML

version: '2'
services:
sogo:
build:
context: .
# links:
# - db
volumes:
# replace by your own file
- ./sogo.conf:/etc/sogo/sogo.conf
environment:
- "TZ=Europe/Berlin"
db:
image: postgres:17.6
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
# for debug purpose only: reach the database from outside
#ports:
# - "5432"
# memcached:
# image: memcached:1.6-alpine
nginx:
image: nginx
links:
- sogo
volumes_from:
# you will be able to serve assets from sogo image
- sogo:ro
ports:
# publish on port 8003
- "8003:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro