fix: remove deprecated compose version tag

This commit is contained in:
LRVT
2024-11-04 13:08:51 +01:00
parent ea9ff8a925
commit dba1b9f1cc
148 changed files with 658 additions and 603 deletions

View File

@@ -1,17 +1,18 @@
version: "3"
services:
web:
image: nginx:stable-alpine
container_name: nginx
hostname: nginx
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www # place your files for web here
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/nginx-conf:/etc/nginx/conf.d # place provided nginx.conf here
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/logs:/var/log/nginx
container_name: nginx
restart: unless-stopped
ports:
- 8080:80
expose:
- 80
#networks:
# - proxy
#labels:
@@ -24,11 +25,11 @@ services:
php:
image: php:8-fpm-alpine
container_name: php
hostname: php
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www # must be same path to www-data as above
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/php/custom-php.ini:/usr/local/etc/php/conf.d/php.ini:ro
container_name: php
restart: unless-stopped
working_dir: /var/www
expose: