version: '2.2' services: shaark: image: shaark build: . container_name: shaark restart: unless-stopped # volumes: # - "./env:/app/.env" depends_on: - mariadb - redis ports: - "9080:80/tcp" logging: driver: "json-file" options: max-size: "10m" max-file: "5" mariadb: image: mariadb container_name: mariadb_shaark restart: unless-stopped volumes: - /opt/shaark/mariadb:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: rootpassword9867ow3q459087w980 MYSQL_PASSWORD: secret MYSQL_USER: homestead MYSQL_DATABASE: homestead logging: driver: "json-file" options: max-size: "10m" max-file: "5" redis: image: redis container_name: redis_shaark restart: unless-stopped volumes: - /opt/shaark/redis:/data logging: driver: "json-file" options: max-size: "10m" max-file: "5"