Created
March 1, 2022 17:02
-
-
Save vbalagovic/a9d8bf6692901721fe44fa1e16675bc3 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' | |
networks: | |
monitor: | |
databases_qed_infrastructure: | |
external: true | |
applications: | |
external: true | |
services: | |
site: | |
build: | |
context: ./dockerfiles | |
dockerfile: nginx.dockerfile | |
args: | |
- UID=${UID:-1000} | |
- GID=${GID:-1000} | |
container_name: nginx_monitor | |
ports: | |
- 8100:83 | |
volumes: | |
- ./src:/var/www/html:delegated | |
depends_on: | |
- php | |
networks: | |
- monitor | |
- applications | |
- databases_qed_infrastructure | |
php: | |
build: | |
context: ./dockerfiles | |
dockerfile: php.dockerfile | |
args: | |
- UID=${UID:-1000} | |
- GID=${GID:-1000} | |
container_name: php_8.0_monitor | |
volumes: | |
- ./src:/var/www/html:delegated | |
- ./dockerfiles/php/php.ini:/usr/local/etc/php/php.ini | |
expose: | |
- "9050" | |
ports: | |
- 9050:9050 | |
networks: | |
- monitor | |
- applications | |
- databases_qed_infrastructure | |
node: | |
image: node:15.5.1 | |
container_name: node_15.5.1_monitor | |
volumes: | |
- ./src:/var/www/html | |
expose: | |
- "8080" | |
- "8081" | |
ports: | |
- 8080:8080 | |
- 8081:8081 | |
working_dir: /var/www/html | |
entrypoint: ['npm'] | |
networks: | |
- monitor | |
- applications | |
- databases_qed_infrastructure | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment