Last active
April 22, 2022 14:03
-
-
Save tataue/e26d09b7c1a33b90336e6217bda58143 to your computer and use it in GitHub Desktop.
uploader [nginx+php]
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: | |
uploader: | |
image: zyfyy/php-fpm | |
container_name: php-fpm | |
restart: unless-stopped | |
tty: true | |
environment: | |
SERVICE_NAME: php-fpm | |
SERVICE_TAGS: dev | |
working_dir: /var/www | |
volumes: | |
- ./:/var/www/uploads | |
networks: | |
- app-network | |
webserver: | |
image: zyfyy/nginx-uploader | |
container_name: nginx-webserver | |
restart: unless-stopped | |
tty: true | |
ports: | |
- "80:8080" | |
volumes: | |
- ./:/var/www/uploads | |
networks: | |
- app-network | |
#Docker Networks | |
networks: | |
app-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment