98 lines
2.2 KiB
YAML
98 lines
2.2 KiB
YAML
|
---
|
||
|
version: '3'
|
||
|
|
||
|
## this is a template version for development
|
||
|
## to use it, save this file as `docker-compose.override.yml`
|
||
|
|
||
|
services:
|
||
|
|
||
|
php:
|
||
|
volumes:
|
||
|
- .:/var/www/app
|
||
|
|
||
|
environment:
|
||
|
- APP_ENV=dev
|
||
|
- APP_DEBUG=true
|
||
|
# You must customize this for your own environment.
|
||
|
# Use `id` to find it out.
|
||
|
- PHP_FPM_USER=1000
|
||
|
- PHP_FPM_GROUP=100
|
||
|
- COMPOSER_HOME=/var/www/app/.composer
|
||
|
links:
|
||
|
- smtp
|
||
|
|
||
|
nginx:
|
||
|
volumes:
|
||
|
- .:/var/www/app
|
||
|
|
||
|
db:
|
||
|
image: postgis/postgis:12-3.1-alpine
|
||
|
volumes:
|
||
|
- ./docker/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||
|
ports:
|
||
|
- "127.0.0.1:5432:5432"
|
||
|
environment:
|
||
|
- "POSTGRES_PASSWORD=postgres"
|
||
|
|
||
|
# fake smtp server
|
||
|
smtp:
|
||
|
image: schickling/mailcatcher
|
||
|
ports:
|
||
|
- "8005:1080"
|
||
|
|
||
|
# for use with collabora, you have to uncomment the following services
|
||
|
# and add a 'web' and collabora entry to your local /etc/hosts,
|
||
|
# which resolves to 127.0.0.1
|
||
|
#
|
||
|
# Example:
|
||
|
#
|
||
|
# ```
|
||
|
# 127.0.0.1 collabora web
|
||
|
# ```
|
||
|
#
|
||
|
# Then, go to http://web to reach the app
|
||
|
#
|
||
|
# Take care that the `web` URL does not belong to [Secure Context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).
|
||
|
# This means that some features, like encrypting document in the browser,
|
||
|
# won't works.
|
||
|
#
|
||
|
# Then, uncomment those lines:
|
||
|
#
|
||
|
# nginx:
|
||
|
# ports:
|
||
|
# - "80:80"
|
||
|
#
|
||
|
#collabora:
|
||
|
# image: collabora/code:latest
|
||
|
# environment:
|
||
|
# - SLEEPFORDEBUGGER=0
|
||
|
# - DONT_GEN_SSL_CERT="True"
|
||
|
# - extra_params=--o:ssl.enable=false --o:ssl.termination=false
|
||
|
# - username=admin
|
||
|
# - password=admin
|
||
|
# - dictionaries=en_US
|
||
|
# ports:
|
||
|
# - "127.0.0.1:9980:9980"
|
||
|
# cap_add:
|
||
|
# - MKNOD
|
||
|
# links:
|
||
|
# - "nginx:web"
|
||
|
|
||
|
|
||
|
# uncomment those lines to launch pgadmin4:
|
||
|
# pgadmin:
|
||
|
# image: dpage/pgadmin4
|
||
|
# links:
|
||
|
# - db
|
||
|
# environment:
|
||
|
# - "PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-admin@chill.social}"
|
||
|
# - "PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:-password}"
|
||
|
# - "PGADMIN_DISABLE_POSTFIX=true"
|
||
|
# ports:
|
||
|
# - "127.0.0.1:8002:80"
|
||
|
# volumes:
|
||
|
# - "./docker/pgadmin4/servers.json:/pgadmin4/servers.json:ro"
|
||
|
#
|
||
|
|
||
|
|