Publishing the FPM port can even be dangerous if the image is run using
docker, which manipulates firewalls to provide access from the public to
all published ports.
- roundcubedb
links:
- roundcubedb
- ports:
- - 9000:9000
volumes:
- ./www:/var/www/html
environment:
image: postgres:alpine
container_name: roundcubedb
# restart: unless-stopped
- ports:
- - 5432:5432
volumes:
- ./db/postgres:/var/lib/postgresql/data
environment:
- roundcubedb
links:
- roundcubedb
- ports:
- - 9000:9000
volumes:
- ./www:/var/www/html
environment:
image: postgres:latest
container_name: roundcubedb
# restart: unless-stopped
- ports:
- - 5432:5432
volumes:
- ./db/postgres:/var/lib/postgresql/data
environment:
# restart: unless-stopped
volumes:
- ./db/mysql:/var/lib/mysql
- ports:
- - 34010:5432
- - 33006:3306
environment:
- MYSQL_ROOT_PASSWORD=roundcube-mysql-pw
- MYSQL_DATABASE=roundcubemail