Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- networks:
- website:
- external: true
- services:
- nginx:
- image: docker.io/library/nginx:latest
- pull_policy: always
- container_name: nginx
- hostname: nginx
- environment:
- PUID: 1000
- PGID: 1000
- TZ: 'America/Phoenix'
- volumes:
- - /opt/apps/websitetest/data/nginx.conf:/etc/nginx/nginx.conf:ro
- - /opt/apps/websitetest/data/html:/var/www/html:ro
- depends_on:
- - php-fpm
- networks:
- - website
- ports:
- - "3005:80"
- restart: unless-stopped
- php-fpm:
- image: docker.io/bitnami/php-fpm:latest
- pull_policy: always
- container_name: php-fpm
- hostname: php-fpm
- environment:
- PHP_MEMORY_LIMIT: 128M
- volumes:
- - /opt/apps/websitetest/data/html:/var/www/html
- restart: unless-stopped
- networks:
- - website
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement