blob: 64e090a2cb9aad3fbfbac84b77c033b0d290a819 [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
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: