Created
June 23, 2020 23:29
-
-
Save delirehberi/6a430369397496ea89a33748881ff9a8 to your computer and use it in GitHub Desktop.
This file contains 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
version: '3' | |
services: | |
php: | |
build: | |
context: ./docker/php | |
ports: | |
- 9000:9000 | |
volumes: | |
- ./:/app/ | |
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf | |
- ./php.ini:/usr/local/etc/php/conf.d/override.ini | |
nginx: | |
image: nginx:1.16.1 | |
ports: | |
- 80:80 | |
volumes: | |
- ./:/app/ | |
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf | |
depends_on: | |
- php | |
node: | |
image: node:13 | |
volumes: | |
- ./:/app/ | |
working_dir: /app | |
postgresql: | |
image: postgres:12 | |
ports: | |
- 5432:5432 | |
depends_on: | |
- php | |
volumes: | |
- ./:/app/ | |
environment: | |
POSTGRES_DB: databasename | |
POSTGRES_USER: databaseuser | |
POSTGRES_PASSWORD: databasepassword | |
mercure: | |
image: dunglas/mercure | |
ports: | |
- "8080:80" | |
environment: | |
JWT_KEY: "" | |
ALLOW_ANONYMOUS: 1 | |
CORS_ALLOWED_ORIGINS: "*" | |
PUBLISH_ALLOWED_ORIGINS: "http://localhost" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment