Skip to content

Instantly share code, notes, and snippets.

@tataue
Last active April 22, 2022 14:03
Show Gist options
  • Save tataue/e26d09b7c1a33b90336e6217bda58143 to your computer and use it in GitHub Desktop.
Save tataue/e26d09b7c1a33b90336e6217bda58143 to your computer and use it in GitHub Desktop.
uploader [nginx+php]
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