blob: af7b637ec88f894e1bd1f56542c4ade251be7216 [file] [log] [blame]
version: "3.5"
services:
pastanagapp:
image: avm99963/fisipastanagapp
env_file: .env
ports:
- "8080:80"
depends_on:
- db
networks:
- backend
volumes:
- phpsessions:/var/phpsessions
restart: unless-stopped
db:
image: mariadb@sha256:eb6a2d34367b662a6e9c92e8cd112bbadf03ad4627f8eeb8d19f480f8da87fa6
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MARIADB_DATABASE: ${DB_NAME}
networks:
- backend
volumes:
- ./db-data:/var/lib/mysql
restart: unless-stopped
networks:
backend:
volumes:
phpsessions: