Created
August 31, 2019 21:37
-
-
Save horaciod/7cd0e8a7565fbb515394911e1e7cab29 to your computer and use it in GitHub Desktop.
Docker compose recipe for old development enviroment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################################################### | |
| # Generated on phpdocker.io # | |
| ############################################################################### | |
| version: "3.1" | |
| services: | |
| db: | |
| image: postgres:10 | |
| container_name: ideas-db | |
| restart: always | |
| volumes: | |
| - /datos/webs/filo/pgdb:/var/lib/postgresql/data | |
| environment: | |
| POSTGRES_PASSWORD: ${dbpassword} | |
| pgadmin: | |
| image: dpage/pgadmin4 | |
| container_name: ideas-pgadmin | |
| restart: always | |
| ports: | |
| - "8101:80" | |
| environment: | |
| PGADMIN_DEFAULT_EMAIL: ${email} | |
| PGADMIN_DEFAULT_PASSWORD: ${password} | |
| volumes: | |
| - /datos/webs/filo/pgadmin:/var/lib/pgadmin | |
| webserver: | |
| image: nginx:alpine | |
| container_name: ideas-webserver | |
| working_dir: /application | |
| volumes: | |
| - /datos/webs/filo:/application/public | |
| - ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf | |
| ports: | |
| - "8100:80" | |
| php-fpm: | |
| image: devilbox/php-fpm:7.0-mods | |
| container_name: ideas-php-fpm | |
| working_dir: /application | |
| environment: | |
| ENABLE_MODULES: soap,pgsql,curl,intl,json,xmlrpc,xml,zip | |
| volumes: | |
| - /datos/webs/filo:/application/public | |
| - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.0/fpm/conf.d/99-overrides.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment